aboutsummaryrefslogtreecommitdiff
path: root/python/nyx/nyx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/nyx/nyx.SlackBuild')
-rw-r--r--python/nyx/nyx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/nyx/nyx.SlackBuild b/python/nyx/nyx.SlackBuild
index d9380c6e642a2..b35c61f2777af 100644
--- a/python/nyx/nyx.SlackBuild
+++ b/python/nyx/nyx.SlackBuild
@@ -23,6 +23,8 @@
#
# Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nyx
VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}