summaryrefslogtreecommitdiffstats
path: root/misc/weather/weather.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/weather/weather.SlackBuild')
-rw-r--r--misc/weather/weather.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/weather/weather.SlackBuild b/misc/weather/weather.SlackBuild
index f45c4150d8..7b825189c6 100644
--- a/misc/weather/weather.SlackBuild
+++ b/misc/weather/weather.SlackBuild
@@ -10,6 +10,8 @@
#
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weather
VERSION=${VERSION:-2.3}
BUILD=${BUILD:-1}
@@ -23,7 +25,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}