aboutsummaryrefslogtreecommitdiff
path: root/development/avr-gdb/avr-gdb.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/avr-gdb/avr-gdb.SlackBuild')
-rw-r--r--development/avr-gdb/avr-gdb.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/avr-gdb/avr-gdb.SlackBuild b/development/avr-gdb/avr-gdb.SlackBuild
index 1b4f82b60dfbd..2de6c7a2db78f 100644
--- a/development/avr-gdb/avr-gdb.SlackBuild
+++ b/development/avr-gdb/avr-gdb.SlackBuild
@@ -4,6 +4,8 @@
# Written by thorsten
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-gdb
VERSION=${VERSION:-10.1}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}