aboutsummaryrefslogtreecommitdiff
path: root/development/tcc/tcc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/tcc/tcc.SlackBuild')
-rw-r--r--development/tcc/tcc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/tcc/tcc.SlackBuild b/development/tcc/tcc.SlackBuild
index eee5cd7edc9da..020847c63b78b 100644
--- a/development/tcc/tcc.SlackBuild
+++ b/development/tcc/tcc.SlackBuild
@@ -26,6 +26,8 @@
# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
# in memoriam of Georg Ohler
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=tcc
VERSION=${VERSION:-0.9.27}
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}