aboutsummaryrefslogtreecommitdiff
path: root/academic/geda-gaf/geda-gaf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/geda-gaf/geda-gaf.SlackBuild')
-rw-r--r--academic/geda-gaf/geda-gaf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/geda-gaf/geda-gaf.SlackBuild b/academic/geda-gaf/geda-gaf.SlackBuild
index 064d1b16ec28b..3e165b1af06a6 100644
--- a/academic/geda-gaf/geda-gaf.SlackBuild
+++ b/academic/geda-gaf/geda-gaf.SlackBuild
@@ -5,6 +5,8 @@
# Written by Stephen Van Berg stephen_van_berg@earlicker.com
# Updated by Kyle Guinn <elyk03@gmail.com>
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geda-gaf
VERSION=${VERSION:-1.10.2}
BUILD=${BUILD:-1}
@@ -18,7 +20,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}