aboutsummaryrefslogtreecommitdiff
path: root/libraries/libnet/libnet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libnet/libnet.SlackBuild')
-rw-r--r--libraries/libnet/libnet.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libnet/libnet.SlackBuild b/libraries/libnet/libnet.SlackBuild
index b5419d6fd599b..fe3a6422f429f 100644
--- a/libraries/libnet/libnet.SlackBuild
+++ b/libraries/libnet/libnet.SlackBuild
@@ -7,6 +7,8 @@
# Modified by Roberto Neri <rneri@libero.it> to
# - remove CVS directories from source tree and miscellaneous script cleanup
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libnet
VERSION=${VERSION:-1.1.6}
BUILD=${BUILD:-1}
@@ -20,7 +22,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}