aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-java/eclipse-java.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/eclipse-java/eclipse-java.SlackBuild')
-rw-r--r--development/eclipse-java/eclipse-java.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/eclipse-java/eclipse-java.SlackBuild b/development/eclipse-java/eclipse-java.SlackBuild
index e3f0684161918..0df32d7130cd8 100644
--- a/development/eclipse-java/eclipse-java.SlackBuild
+++ b/development/eclipse-java/eclipse-java.SlackBuild
@@ -26,6 +26,8 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-java
VERSION=${VERSION:-4.20}
SRCVERSION=${SRCVERSION:-2021-06-R}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}