aboutsummaryrefslogtreecommitdiff
path: root/misc/cksfv/cksfv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cksfv/cksfv.SlackBuild')
-rw-r--r--misc/cksfv/cksfv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/cksfv/cksfv.SlackBuild b/misc/cksfv/cksfv.SlackBuild
index 46d8676397827..bb1fb3c5a4a4d 100644
--- a/misc/cksfv/cksfv.SlackBuild
+++ b/misc/cksfv/cksfv.SlackBuild
@@ -29,6 +29,8 @@
# Modified by Erik Hanson <erik@slackbuilds.org>
# No additional license terms
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cksfv
VERSION=${VERSION:-1.3.14}
BUILD=${BUILD:-1}
@@ -42,7 +44,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}