aboutsummaryrefslogtreecommitdiff
path: root/development/unifdef/unifdef.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/unifdef/unifdef.SlackBuild')
-rw-r--r--development/unifdef/unifdef.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/unifdef/unifdef.SlackBuild b/development/unifdef/unifdef.SlackBuild
index 8f1ef583d2a9..6189acfaa55c 100644
--- a/development/unifdef/unifdef.SlackBuild
+++ b/development/unifdef/unifdef.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=unifdef
VERSION=${VERSION:-2.12}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}