summaryrefslogtreecommitdiffstats
path: root/haskell/haskell-lexer/haskell-lexer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'haskell/haskell-lexer/haskell-lexer.SlackBuild')
-rw-r--r--haskell/haskell-lexer/haskell-lexer.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/haskell/haskell-lexer/haskell-lexer.SlackBuild b/haskell/haskell-lexer/haskell-lexer.SlackBuild
index a6b0635eff..6f7655cc3b 100644
--- a/haskell/haskell-lexer/haskell-lexer.SlackBuild
+++ b/haskell/haskell-lexer/haskell-lexer.SlackBuild
@@ -24,6 +24,8 @@
# the Hackage package is 'haskell-lexer' not 'lexer',
# let's not call the SlackBuild 'haskell-haskell-lexer' ;-)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=haskell-lexer
SRCNAM=$PRGNAM
@@ -41,7 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}