aboutsummaryrefslogtreecommitdiff
path: root/desktop/xtrlock/xtrlock.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xtrlock/xtrlock.SlackBuild')
-rw-r--r--desktop/xtrlock/xtrlock.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/xtrlock/xtrlock.SlackBuild b/desktop/xtrlock/xtrlock.SlackBuild
index 088c5c94fd941..4a0421dbcb749 100644
--- a/desktop/xtrlock/xtrlock.SlackBuild
+++ b/desktop/xtrlock/xtrlock.SlackBuild
@@ -12,6 +12,8 @@
# use). Basically just updating it to avoid people asking for it to
# be updated.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xtrlock
VERSION=${VERSION:-2.15}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}