summaryrefslogtreecommitdiffstats
path: root/development/splint/splint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/splint/splint.SlackBuild')
-rw-r--r--development/splint/splint.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild
index c32c6b4158..2090a3b43f 100644
--- a/development/splint/splint.SlackBuild
+++ b/development/splint/splint.SlackBuild
@@ -10,6 +10,8 @@
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=splint
VERSION=${VERSION:-3.1.2}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}