summaryrefslogtreecommitdiffstats
path: root/misc/xcape/xcape.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/xcape/xcape.SlackBuild')
-rw-r--r--misc/xcape/xcape.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/xcape/xcape.SlackBuild b/misc/xcape/xcape.SlackBuild
index 142177a820..4af2b6bb13 100644
--- a/misc/xcape/xcape.SlackBuild
+++ b/misc/xcape/xcape.SlackBuild
@@ -4,6 +4,8 @@
# Maintained as of version 1.1 by SGMART <slackmart@gmail.com>
# revision date: 2014/12/31
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcape
VERSION=${VERSION:-1.1}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}