summaryrefslogtreecommitdiffstats
path: root/desktop/idesk/idesk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/idesk/idesk.SlackBuild')
-rw-r--r--desktop/idesk/idesk.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/idesk/idesk.SlackBuild b/desktop/idesk/idesk.SlackBuild
index d1d6461ea8..90a7faa745 100644
--- a/desktop/idesk/idesk.SlackBuild
+++ b/desktop/idesk/idesk.SlackBuild
@@ -17,6 +17,8 @@
# on future versions of Slackware (unless upstream suddenly releases a
# new version, but it's been a dead project for almost 10 years now).
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=idesk
VERSION=${VERSION:-0.7.5}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}