summaryrefslogtreecommitdiffstats
path: root/development/kicad/kicad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/kicad/kicad.SlackBuild')
-rw-r--r--development/kicad/kicad.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/kicad/kicad.SlackBuild b/development/kicad/kicad.SlackBuild
index ac7c12a153..7aeaa750f2 100644
--- a/development/kicad/kicad.SlackBuild
+++ b/development/kicad/kicad.SlackBuild
@@ -25,6 +25,8 @@
# Revision date: 2019/Jun/02
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=kicad
VERSION=${VERSION:-5.1.9}
BUILD=${BUILD:-1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}