aboutsummaryrefslogtreecommitdiff
path: root/libraries/Smarty
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Smarty')
-rw-r--r--libraries/Smarty/Smarty.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/Smarty/Smarty.SlackBuild b/libraries/Smarty/Smarty.SlackBuild
index d77bc1ca0d04..f4a019911e43 100644
--- a/libraries/Smarty/Smarty.SlackBuild
+++ b/libraries/Smarty/Smarty.SlackBuild
@@ -5,6 +5,8 @@
# Written by Andrzej Telszewski <atelszewski@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=Smarty
VERSION=${VERSION:-3.0.8}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}