summaryrefslogtreecommitdiffstats
path: root/development/xtruss/xtruss.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/xtruss/xtruss.SlackBuild')
-rw-r--r--development/xtruss/xtruss.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/xtruss/xtruss.SlackBuild b/development/xtruss/xtruss.SlackBuild
index 457e649019..4d045906e0 100644
--- a/development/xtruss/xtruss.SlackBuild
+++ b/development/xtruss/xtruss.SlackBuild
@@ -12,6 +12,8 @@
# - switch to self-hosted source, as upstream disappears the old source
# immediately on every new release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xtruss
VERSION=${VERSION:-20200918.a94a153}
BUILD=${BUILD:-1}
@@ -25,7 +27,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}