aboutsummaryrefslogtreecommitdiff
path: root/system/xautomation/xautomation.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xautomation/xautomation.SlackBuild')
-rw-r--r--system/xautomation/xautomation.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/xautomation/xautomation.SlackBuild b/system/xautomation/xautomation.SlackBuild
index 70cecff69548..ebdba9ddaf7c 100644
--- a/system/xautomation/xautomation.SlackBuild
+++ b/system/xautomation/xautomation.SlackBuild
@@ -5,6 +5,8 @@
# Written by V'yacheslav Stetskevych
# Modified by B. Watson
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xautomation
VERSION=${VERSION:-1.09}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}