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