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