aboutsummaryrefslogtreecommitdiff
path: root/system/numlockx/numlockx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/numlockx/numlockx.SlackBuild')
-rw-r--r--system/numlockx/numlockx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/numlockx/numlockx.SlackBuild b/system/numlockx/numlockx.SlackBuild
index 7c043edabbb2a..7dcdc3f205f7d 100644
--- a/system/numlockx/numlockx.SlackBuild
+++ b/system/numlockx/numlockx.SlackBuild
@@ -11,6 +11,8 @@
# Maintained as of version 1.2 by Niels Horn <niels.horn@gmail.com>
# Revision date: 2010/10/26
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=numlockx
VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}