aboutsummaryrefslogtreecommitdiff
path: root/haskell-template.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell-template.SlackBuild')
-rw-r--r--haskell-template.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/haskell-template.SlackBuild b/haskell-template.SlackBuild
index 77c6d4d..206b16f 100644
--- a/haskell-template.SlackBuild
+++ b/haskell-template.SlackBuild
@@ -48,6 +48,8 @@
#
# |-----------------------------------------------------------------| #
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=haskell-appname # replace 'appname' with name of program
VERSION=${VERSION:-1.4.1} # replace with version of program
BUILD=${BUILD:-1}
@@ -67,7 +69,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp