aboutsummaryrefslogtreecommitdiff
path: root/network/ucarp/ucarp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ucarp/ucarp.SlackBuild')
-rw-r--r--network/ucarp/ucarp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ucarp/ucarp.SlackBuild b/network/ucarp/ucarp.SlackBuild
index b3b5192242cc4..de0705918acd2 100644
--- a/network/ucarp/ucarp.SlackBuild
+++ b/network/ucarp/ucarp.SlackBuild
@@ -30,6 +30,8 @@
# Patch release to correct a bug that prevents the '-o' flag from working.
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=ucarp
VERSION=${VERSION:-1.5.2}
BUILD=${BUILD:-2}
@@ -43,7 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}