summaryrefslogtreecommitdiffstats
path: root/system/heirloom-sh/heirloom-sh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/heirloom-sh/heirloom-sh.SlackBuild')
-rw-r--r--system/heirloom-sh/heirloom-sh.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/heirloom-sh/heirloom-sh.SlackBuild b/system/heirloom-sh/heirloom-sh.SlackBuild
index 2e82d565d7..6375659f2c 100644
--- a/system/heirloom-sh/heirloom-sh.SlackBuild
+++ b/system/heirloom-sh/heirloom-sh.SlackBuild
@@ -4,6 +4,8 @@
# Written by slakmagik <slakmagik@gmail.com>
# Released under the WTFPL
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=heirloom-sh
VERSION=${VERSION:-050706}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}