aboutsummaryrefslogtreecommitdiff
path: root/academic/geomview/geomview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/geomview/geomview.SlackBuild')
-rw-r--r--academic/geomview/geomview.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/geomview/geomview.SlackBuild b/academic/geomview/geomview.SlackBuild
index 326e7d7a86078..1152344a839d7 100644
--- a/academic/geomview/geomview.SlackBuild
+++ b/academic/geomview/geomview.SlackBuild
@@ -5,6 +5,8 @@
# Written by (Jorge Barros de Abreu)
# (http://sites.google.com/site/ficmatinf)
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=geomview
VERSION=${VERSION:-1.9.4}
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}