aboutsummaryrefslogtreecommitdiff
path: root/development/scala/scala.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/scala/scala.SlackBuild')
-rw-r--r--development/scala/scala.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/scala/scala.SlackBuild b/development/scala/scala.SlackBuild
index ede91cc60c8a8..4557d3b8fd62b 100644
--- a/development/scala/scala.SlackBuild
+++ b/development/scala/scala.SlackBuild
@@ -6,6 +6,8 @@
# Public domain.
# Updated by Andre Barboza <bmg.andre@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=scala
VERSION=${VERSION:-2.13.6}
BUILD=${BUILD:-1}
@@ -19,7 +21,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}