summaryrefslogtreecommitdiffstats
path: root/system/lddsafe/lddsafe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lddsafe/lddsafe.SlackBuild')
-rw-r--r--system/lddsafe/lddsafe.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/lddsafe/lddsafe.SlackBuild b/system/lddsafe/lddsafe.SlackBuild
index 18c144e389..43fe40c05a 100644
--- a/system/lddsafe/lddsafe.SlackBuild
+++ b/system/lddsafe/lddsafe.SlackBuild
@@ -11,6 +11,8 @@
# self-contained shell script and one README, no point dealing with a
# tarball at all, just link to the 'raw' files on github.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=lddsafe
VERSION=${VERSION:-20110819_02842ba}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}