summaryrefslogtreecommitdiffstats
path: root/misc/rlwrap/rlwrap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/rlwrap/rlwrap.SlackBuild')
-rw-r--r--misc/rlwrap/rlwrap.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/rlwrap/rlwrap.SlackBuild b/misc/rlwrap/rlwrap.SlackBuild
index a1224906ea..b5bae24faa 100644
--- a/misc/rlwrap/rlwrap.SlackBuild
+++ b/misc/rlwrap/rlwrap.SlackBuild
@@ -6,6 +6,8 @@
# Updated 2017,2021 by Andrew Clemons, Wellington New Zealand
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rlwrap
VERSION=${VERSION:-0.45.2}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}