aboutsummaryrefslogtreecommitdiff
path: root/development/erlang-otp/erlang-otp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/erlang-otp/erlang-otp.SlackBuild')
-rw-r--r--development/erlang-otp/erlang-otp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild
index be02edf460c01..31125443e6458 100644
--- a/development/erlang-otp/erlang-otp.SlackBuild
+++ b/development/erlang-otp/erlang-otp.SlackBuild
@@ -20,6 +20,8 @@
# 28 November 2016 to reflect the use of README.md instead
# of README in upstream
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=erlang-otp
VERSION=${VERSION:-23.2}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}