aboutsummaryrefslogtreecommitdiff
path: root/academic/seaview/seaview.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/seaview/seaview.SlackBuild')
-rw-r--r--academic/seaview/seaview.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/seaview/seaview.SlackBuild b/academic/seaview/seaview.SlackBuild
index c4f650d50f2ba..4d9c297e9928e 100644
--- a/academic/seaview/seaview.SlackBuild
+++ b/academic/seaview/seaview.SlackBuild
@@ -25,6 +25,8 @@
# Thanks to Niels Horn for correcting the CFLAGS.
# Thanks to developer Dr. Manolo Gouy for all his help.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=seaview
VERSION=${VERSION:-5.0.4}
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}