aboutsummaryrefslogtreecommitdiff
path: root/academic/gerbv/gerbv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/gerbv/gerbv.SlackBuild')
-rw-r--r--academic/gerbv/gerbv.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/gerbv/gerbv.SlackBuild b/academic/gerbv/gerbv.SlackBuild
index 7c2c46d58b557..51cd64bb47753 100644
--- a/academic/gerbv/gerbv.SlackBuild
+++ b/academic/gerbv/gerbv.SlackBuild
@@ -4,6 +4,8 @@
# Written by Felix Pfeifer (pfeifer [dot] felix [at] googlemail [dot] com)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gerbv
VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
@@ -17,7 +19,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}