aboutsummaryrefslogtreecommitdiff
path: root/development/arm-binutils/arm-binutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/arm-binutils/arm-binutils.SlackBuild')
-rw-r--r--development/arm-binutils/arm-binutils.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/arm-binutils/arm-binutils.SlackBuild b/development/arm-binutils/arm-binutils.SlackBuild
index 867bc469000f3..eda4c3ecdaab2 100644
--- a/development/arm-binutils/arm-binutils.SlackBuild
+++ b/development/arm-binutils/arm-binutils.SlackBuild
@@ -27,6 +27,8 @@
# Vliegendehuiskat <vliegendehuiskat [at] gmail [dot] com> and
# Claudio Henrique Fortes Felix <felix.claudio [at] gmail [dot] com>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arm-binutils
VERSION=${VERSION:-2.35}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}