aboutsummaryrefslogtreecommitdiff
path: root/network/nginx/nginx.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/nginx/nginx.SlackBuild')
-rw-r--r--network/nginx/nginx.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/nginx/nginx.SlackBuild b/network/nginx/nginx.SlackBuild
index f47376ede889f..7063d78e60668 100644
--- a/network/nginx/nginx.SlackBuild
+++ b/network/nginx/nginx.SlackBuild
@@ -27,6 +27,8 @@
# Special thanks to Thomas Morper for some configuration adjustments tips
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nginx
VERSION=${VERSION:-1.12.2}
BUILD=${BUILD:-1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}