summaryrefslogtreecommitdiffstats
path: root/system/plan9port/plan9port.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r--system/plan9port/plan9port.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild
index e51aea7bad..7b50316294 100644
--- a/system/plan9port/plan9port.SlackBuild
+++ b/system/plan9port/plan9port.SlackBuild
@@ -25,6 +25,8 @@
# 2012-10-23: added some changes to reflect the usage of nightly tarballs
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=plan9port
VERSION=${VERSION:-20190501}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}