aboutsummaryrefslogtreecommitdiff
path: root/accessibility/xdotool/xdotool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/xdotool/xdotool.SlackBuild')
-rw-r--r--accessibility/xdotool/xdotool.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild
index edfe80d8440f3..63ecb2229e3fb 100644
--- a/accessibility/xdotool/xdotool.SlackBuild
+++ b/accessibility/xdotool/xdotool.SlackBuild
@@ -48,6 +48,8 @@
# - make & install HTML doc instead of raw POD doc
# - fix permissions in examples/
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xdotool
VERSION=${VERSION:-3.20160805.1}
BUILD=${BUILD:-3}
@@ -61,7 +63,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}