summaryrefslogtreecommitdiff
path: root/academic/xephem/xephem.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/xephem/xephem.SlackBuild')
-rw-r--r--academic/xephem/xephem.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/xephem/xephem.SlackBuild b/academic/xephem/xephem.SlackBuild
index f6f7cada30..910be692c0 100644
--- a/academic/xephem/xephem.SlackBuild
+++ b/academic/xephem/xephem.SlackBuild
@@ -4,6 +4,8 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xephem
VERSION=${VERSION:-3.7.7}
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}