aboutsummaryrefslogtreecommitdiff
path: root/system/ksh-openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'system/ksh-openbsd')
-rw-r--r--system/ksh-openbsd/ksh-openbsd.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/ksh-openbsd/ksh-openbsd.SlackBuild b/system/ksh-openbsd/ksh-openbsd.SlackBuild
index e700d64a9f2d..64227694dbc0 100644
--- a/system/ksh-openbsd/ksh-openbsd.SlackBuild
+++ b/system/ksh-openbsd/ksh-openbsd.SlackBuild
@@ -27,6 +27,8 @@
# Build script for the Linux port of OpenBSD's ksh
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ksh-openbsd
VERSION=${VERSION:-20190804}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}