summaryrefslogtreecommitdiff
path: root/network/surl/surl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/surl/surl.SlackBuild')
-rw-r--r--network/surl/surl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/surl/surl.SlackBuild b/network/surl/surl.SlackBuild
index 7695a8157d..4e0e61d48b 100644
--- a/network/surl/surl.SlackBuild
+++ b/network/surl/surl.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=surl
VERSION=${VERSION:-0.7.1.1}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}