aboutsummaryrefslogtreecommitdiff
path: root/development/avr-binutils/avr-binutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/avr-binutils/avr-binutils.SlackBuild')
-rw-r--r--development/avr-binutils/avr-binutils.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/avr-binutils/avr-binutils.SlackBuild b/development/avr-binutils/avr-binutils.SlackBuild
index 8c0e12f3599cc..cb671c7e7769e 100644
--- a/development/avr-binutils/avr-binutils.SlackBuild
+++ b/development/avr-binutils/avr-binutils.SlackBuild
@@ -8,6 +8,8 @@
# This file is placed in the public domain.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-binutils
VERSION=${VERSION:-2.35.1}
BUILD=${BUILD:-1}
@@ -21,7 +23,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}