aboutsummaryrefslogtreecommitdiff
path: root/libraries/librapi2/librapi2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/librapi2/librapi2.SlackBuild')
-rw-r--r--libraries/librapi2/librapi2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/librapi2/librapi2.SlackBuild b/libraries/librapi2/librapi2.SlackBuild
index f4f61c9446ae..a4c6733198e7 100644
--- a/libraries/librapi2/librapi2.SlackBuild
+++ b/libraries/librapi2/librapi2.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for librapi2
# Written by redtricycle (redtricycle@gmail.com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=librapi2
VERSION=${VERSION:-0.13.1}
BUILD=${BUILD:-1}
@@ -16,7 +18,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}