aboutsummaryrefslogtreecommitdiff
path: root/development/nodejs/nodejs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/nodejs/nodejs.SlackBuild')
-rw-r--r--development/nodejs/nodejs.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild
index ac908409af81c..8c9840cee31f3 100644
--- a/development/nodejs/nodejs.SlackBuild
+++ b/development/nodejs/nodejs.SlackBuild
@@ -24,6 +24,8 @@
# along with this program (most likely, a file named COPYING). If
# not, see <https://www.gnu.org/licenses/>.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=nodejs
SRCNAM=node
VERSION=${VERSION:-14.17.1}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}