aboutsummaryrefslogtreecommitdiff
path: root/network/weathercli/weathercli.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/weathercli/weathercli.SlackBuild')
-rw-r--r--network/weathercli/weathercli.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/weathercli/weathercli.SlackBuild b/network/weathercli/weathercli.SlackBuild
index d32bbd8ad301f..5425dc3c74edb 100644
--- a/network/weathercli/weathercli.SlackBuild
+++ b/network/weathercli/weathercli.SlackBuild
@@ -23,6 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=weathercli
VERSION=${VERSION:-2.3.1}
BUILD=${BUILD:-3}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}