summaryrefslogtreecommitdiffstats
path: root/libraries/rhino/rhino.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/rhino/rhino.SlackBuild')
-rw-r--r--libraries/rhino/rhino.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/rhino/rhino.SlackBuild b/libraries/rhino/rhino.SlackBuild
index ad885f08c6..14b19f7501 100644
--- a/libraries/rhino/rhino.SlackBuild
+++ b/libraries/rhino/rhino.SlackBuild
@@ -3,6 +3,8 @@
# Slackware build script for rhino
# Written by Vincent Batts, vbatts@hashbangbash.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=rhino
VERSION=${VERSION:-1_7R2}
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}