summaryrefslogtreecommitdiff
path: root/make_deb.sh
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-24 21:23:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-24 21:23:40 -0700
commit797ec7cb751327d344ac6d77e52edfca36115036 (patch)
treecdc5f1bb41e4fcd93d545e93f25eed1f8493866a /make_deb.sh
parentd7e6a95a3a29b1dab3cd711a0b32b39be9776e82 (diff)
Moved PATH setting in make_deb, make_osx_package.
Otherwise 'which hsb2hs' won't find the local one.
Diffstat (limited to 'make_deb.sh')
-rwxr-xr-xmake_deb.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/make_deb.sh b/make_deb.sh
index 639d7b930..68b0bae7f 100755
--- a/make_deb.sh
+++ b/make_deb.sh
@@ -17,11 +17,12 @@ DEST=$DIST/usr
ME=$(whoami)
COPYRIGHT=$DEST/share/doc/pandoc/copyright
+# We need this for hsb2hs:
+PATH=$LOCAL/bin:$PATH
+
stack setup
stack clean
which hsb2hs || stack install --stack-yaml stack.hsb2hs.yaml
-# We need this for hsb2hs:
-PATH=$LOCAL/bin:$PATH
stack install --stack-yaml deb/stack.yaml