Fixed paths: deb->linux.

This commit is contained in:
John MacFarlane 2017-03-19 17:35:19 +01:00
parent 4a1c3faec8
commit de8d4e2f86
2 changed files with 3 additions and 5 deletions

View file

@ -19,13 +19,11 @@ RUN stack install --stack-yaml stack.pkg.yaml --only-dependencies \
--flag 'pandoc:embed_data_files' \
--test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \
pandoc pandoc-citeproc
COPY make_deb.sh .
COPY make_tarball.sh .
CMD git pull && \
git checkout -b work $TREE && \
stack install --stack-yaml stack.pkg.yaml \
--local-bin-path /artifacts --flag 'pandoc:embed_data_files' \
--test --ghc-options '-O2 -optc-Os -optl-static -fPIC' \
pandoc pandoc-citeproc && \
bash make_deb.sh && \
bash make_tarball.sh
bash linux/make_deb.sh && \
bash linux/make_tarball.sh

View file

@ -41,7 +41,7 @@ echo "pandoc-citeproc" >> $COPYRIGHT
INSTALLED_SIZE=$(du -k -s $DEST | awk '{print $1}')
mkdir $DIST/DEBIAN
perl -pe "s/VERSION/$DEBVER/" deb/control.in | \
perl -pe "s/VERSION/$DEBVER/" linux/control.in | \
perl -pe "s/ARCHITECTURE/$ARCHITECTURE/" | \
perl -pe "s/INSTALLED_SIZE/$INSTALLED_SIZE/" \
> $DIST/DEBIAN/control