aboutsummaryrefslogtreecommitdiff
path: root/libraries/gnet/gnet.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/gnet/gnet.SlackBuild')
-rw-r--r--libraries/gnet/gnet.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/gnet/gnet.SlackBuild b/libraries/gnet/gnet.SlackBuild
index 64c68bcb983dc..a09396950aead 100644
--- a/libraries/gnet/gnet.SlackBuild
+++ b/libraries/gnet/gnet.SlackBuild
@@ -11,6 +11,8 @@
# To Public License, Version 2, as published by Sam Hocevar. See
# http://sam.zoy.org/wtfpl/COPYING for more details.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gnet
VERSION=${VERSION:-2.0.8}
BUILD=${BUILD:-1}
@@ -24,7 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}