aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-10-22 21:19:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-10-22 21:19:17 -0700
commit046e7b408a905620de945385fe4646d8d9bb47c5 (patch)
tree0f1ca31facc2bdc1cb3c466e555666667058c8af /linux
parentccc09293c4d8119cb5f49bec9c9dc0aebb949cfe (diff)
downloadpandoc-046e7b408a905620de945385fe4646d8d9bb47c5.tar.gz
make_deb, make_tarball - fix default assignment of ARTIFACTS.
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/make_deb.sh2
-rw-r--r--linux/make_tarball.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/make_deb.sh b/linux/make_deb.sh
index 5df1f2381..cbbc8a184 100755
--- a/linux/make_deb.sh
+++ b/linux/make_deb.sh
@@ -7,7 +7,7 @@ case "$MACHINE" in
i386) ARCHITECTURE=i386;;
esac
-ARTIFACTS=?/artifacts
+ARTIFACTS="${ARTIFACTS:-/artifacts}"
VERSION=`$ARTIFACTS/pandoc --version | awk '{print $2; exit;}'`
REVISION=${REVISION:-1}
diff --git a/linux/make_tarball.sh b/linux/make_tarball.sh
index 7d465e06e..2a4efe05f 100644
--- a/linux/make_tarball.sh
+++ b/linux/make_tarball.sh
@@ -1,7 +1,7 @@
set -e
TARGET=pandoc-$VERSION
-ARTIFACTS=?/artifacts
+ARTIFACTS="${ARTIFACTS:-/artifacts}"
VERSION=`$ARTIFACTS/pandoc --version | awk '{print $2; exit;}'`
cd $ARTIFACTS