aboutsummaryrefslogtreecommitdiff
path: root/network/libdnet/libdnet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/libdnet/libdnet.SlackBuild')
-rw-r--r--network/libdnet/libdnet.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/libdnet/libdnet.SlackBuild b/network/libdnet/libdnet.SlackBuild
index a492b88dc412..5669adb5cc38 100644
--- a/network/libdnet/libdnet.SlackBuild
+++ b/network/libdnet/libdnet.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libdnet
VERSION=${VERSION:-1.11}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}