aboutsummaryrefslogtreecommitdiff
path: root/system/triggerhappy/triggerhappy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/triggerhappy/triggerhappy.SlackBuild')
-rw-r--r--system/triggerhappy/triggerhappy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/triggerhappy/triggerhappy.SlackBuild b/system/triggerhappy/triggerhappy.SlackBuild
index 9f6725b9d1092..2b5dd14385d47 100644
--- a/system/triggerhappy/triggerhappy.SlackBuild
+++ b/system/triggerhappy/triggerhappy.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=triggerhappy
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}