summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-19 17:35:19 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-19 17:35:19 +0100
commitde8d4e2f86749b5748f8c6b61d0ebdc16177c354 (patch)
tree7b012fe4ea9504aba9a638d04443c4722912196d /linux
parent4a1c3faec869612d4ca5c87dc1ead9d2e3665aca (diff)
Fixed paths: deb->linux.
Diffstat (limited to 'linux')
-rw-r--r--linux/Dockerfile6
-rwxr-xr-xlinux/make_deb.sh2
2 files changed, 3 insertions, 5 deletions
diff --git a/linux/Dockerfile b/linux/Dockerfile
index 0a9cc710d..630abc17e 100644
--- a/linux/Dockerfile
+++ b/linux/Dockerfile
@@ -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
diff --git a/linux/make_deb.sh b/linux/make_deb.sh
index 70b99a5ee..3510ce6c4 100755
--- a/linux/make_deb.sh
+++ b/linux/make_deb.sh
@@ -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