aboutsummaryrefslogtreecommitdiff
path: root/libraries/avr-libc/avr-libc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/avr-libc/avr-libc.SlackBuild')
-rw-r--r--libraries/avr-libc/avr-libc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/avr-libc/avr-libc.SlackBuild b/libraries/avr-libc/avr-libc.SlackBuild
index df9cd6493573..97e22cebf924 100644
--- a/libraries/avr-libc/avr-libc.SlackBuild
+++ b/libraries/avr-libc/avr-libc.SlackBuild
@@ -12,6 +12,8 @@
# I am not responsible for any consequences that follow from the
# incorrect use of this script.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=avr-libc
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ if [ $(echo $PATH | grep "/usr/share/texmf/bin" | wc -l) -le 0 ]; then
PATH=$PATH:/usr/share/texmf/bin ;
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}