aboutsummaryrefslogtreecommitdiff
path: root/libraries/libkqueue/libkqueue.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libkqueue/libkqueue.SlackBuild')
-rw-r--r--libraries/libkqueue/libkqueue.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libkqueue/libkqueue.SlackBuild b/libraries/libkqueue/libkqueue.SlackBuild
index 8199cbaabb6c..ef746930ba97 100644
--- a/libraries/libkqueue/libkqueue.SlackBuild
+++ b/libraries/libkqueue/libkqueue.SlackBuild
@@ -24,6 +24,8 @@
#
# Modified by the slackbuilds.org project.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libkqueue
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}