summaryrefslogtreecommitdiffstats
path: root/development/eclipse-cpp/eclipse-cpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/eclipse-cpp/eclipse-cpp.SlackBuild')
-rw-r--r--development/eclipse-cpp/eclipse-cpp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/eclipse-cpp/eclipse-cpp.SlackBuild b/development/eclipse-cpp/eclipse-cpp.SlackBuild
index 9583c07684..31feb13668 100644
--- a/development/eclipse-cpp/eclipse-cpp.SlackBuild
+++ b/development/eclipse-cpp/eclipse-cpp.SlackBuild
@@ -26,6 +26,8 @@
# Modified from classical eclipse slackbuild
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-cpp
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}