aboutsummaryrefslogtreecommitdiff
path: root/network/httrack/httrack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/httrack/httrack.SlackBuild')
-rw-r--r--network/httrack/httrack.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/httrack/httrack.SlackBuild b/network/httrack/httrack.SlackBuild
index 6b1970091831a..b87912940fc81 100644
--- a/network/httrack/httrack.SlackBuild
+++ b/network/httrack/httrack.SlackBuild
@@ -8,6 +8,8 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=httrack
VERSION=${VERSION:-3.49.2}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}