aboutsummaryrefslogtreecommitdiff
path: root/libraries/ant-contrib
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ant-contrib')
-rw-r--r--libraries/ant-contrib/ant-contrib.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/ant-contrib/ant-contrib.SlackBuild b/libraries/ant-contrib/ant-contrib.SlackBuild
index 4bf6b3374856..dd5f975a517e 100644
--- a/libraries/ant-contrib/ant-contrib.SlackBuild
+++ b/libraries/ant-contrib/ant-contrib.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for ant-contrib
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ant-contrib
VERSION=${VERSION:-0.6}
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}