summaryrefslogtreecommitdiff
path: root/libraries/libaaio/libaaio.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libaaio/libaaio.SlackBuild')
-rw-r--r--libraries/libaaio/libaaio.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libaaio/libaaio.SlackBuild b/libraries/libaaio/libaaio.SlackBuild
index 1974fda8f5..e30da9d5a9 100644
--- a/libraries/libaaio/libaaio.SlackBuild
+++ b/libraries/libaaio/libaaio.SlackBuild
@@ -26,6 +26,8 @@
## COPYING or README in the libaaio source distribution for more on
## this.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libaaio
VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-3}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}