aboutsummaryrefslogtreecommitdiff
path: root/development/arm-gdb/arm-gdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/arm-gdb/arm-gdb.SlackBuild')
-rw-r--r--development/arm-gdb/arm-gdb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/arm-gdb/arm-gdb.SlackBuild b/development/arm-gdb/arm-gdb.SlackBuild
index 189bb84855a74..97207372da9b8 100644
--- a/development/arm-gdb/arm-gdb.SlackBuild
+++ b/development/arm-gdb/arm-gdb.SlackBuild
@@ -24,6 +24,8 @@
# Written by thorsten <thorsten (dot) johannvorderbrueggen (at) t-online (dot) de>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=arm-gdb
VERSION=${VERSION:-10.1}
BUILD=${BUILD:-1}
@@ -37,7 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}