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