summaryrefslogtreecommitdiffstats
path: root/desktop/wmclock/wmclock.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmclock/wmclock.SlackBuild')
-rw-r--r--desktop/wmclock/wmclock.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/wmclock/wmclock.SlackBuild b/desktop/wmclock/wmclock.SlackBuild
index f50f3b2d08..697a83bba6 100644
--- a/desktop/wmclock/wmclock.SlackBuild
+++ b/desktop/wmclock/wmclock.SlackBuild
@@ -10,6 +10,8 @@
# - finally got around to upgrading to 1.0.14.
# - added default language in slack-desc.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=wmclock
VERSION=${VERSION:-1.0.14}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}