aboutsummaryrefslogtreecommitdiff
path: root/development/jenv/jenv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/jenv/jenv.SlackBuild')
-rw-r--r--development/jenv/jenv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/jenv/jenv.SlackBuild b/development/jenv/jenv.SlackBuild
index 2ac830a11ab08..d0c8cdbf96924 100644
--- a/development/jenv/jenv.SlackBuild
+++ b/development/jenv/jenv.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=jenv
VERSION=${VERSION:-0.5.4}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}