aboutsummaryrefslogtreecommitdiff
path: root/development/eclipse-platform/eclipse-platform.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/eclipse-platform/eclipse-platform.SlackBuild')
-rw-r--r--development/eclipse-platform/eclipse-platform.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/eclipse-platform/eclipse-platform.SlackBuild b/development/eclipse-platform/eclipse-platform.SlackBuild
index d6ef591814fe..b12fa3d280e9 100644
--- a/development/eclipse-platform/eclipse-platform.SlackBuild
+++ b/development/eclipse-platform/eclipse-platform.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=eclipse-platform
VERSION=${VERSION:-4.19}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}