aboutsummaryrefslogtreecommitdiff
path: root/development/idea/idea.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/idea/idea.SlackBuild')
-rw-r--r--development/idea/idea.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/idea/idea.SlackBuild b/development/idea/idea.SlackBuild
index dfedee19e8b7b..293ef757083cb 100644
--- a/development/idea/idea.SlackBuild
+++ b/development/idea/idea.SlackBuild
@@ -4,6 +4,8 @@
# Written by Mario Antunes (mariolpantunes@gmail.com)
# This script is just a binary repackaging.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=idea
ARCNAM=ideaIC
VERSION=${VERSION:-2020.2}
@@ -11,7 +13,6 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=${ARCH:-noarch}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}