summaryrefslogtreecommitdiff
path: root/system/cpmtools
diff options
context:
space:
mode:
Diffstat (limited to 'system/cpmtools')
-rw-r--r--system/cpmtools/cpmtools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/cpmtools/cpmtools.SlackBuild b/system/cpmtools/cpmtools.SlackBuild
index eff3c06ffc..efb7e15fcc 100644
--- a/system/cpmtools/cpmtools.SlackBuild
+++ b/system/cpmtools/cpmtools.SlackBuild
@@ -11,6 +11,8 @@
# - Switch to freebsd distfile source, as upstream vanishes the old
# source immediately upon a new release.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=cpmtools
VERSION=${VERSION:-2.21}
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}