X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/b0c6041dcc7bf0098d683cb2ec13239f3af1863a..7bc54734da0dafad2a66e6f04a65395dcda6cb16:/packages/nodejs/build.sh diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index 53ea07a9..8abe8ff6 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -1,8 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/ TERMUX_PKG_DESCRIPTION="Platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications" -TERMUX_PKG_VERSION=6.9.4 +TERMUX_PKG_VERSION=6.10.2 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=f0257c83eb5e8b0e7b09db7264dc1e93e1f024c6dfccb098363b4fb0c192cf7f +TERMUX_PKG_SHA256=9b897dd6604d50ae5fff25fd14b1c4035462d0598735799e0cfb4f17cb6e0d19 # Note that we do not use a shared libuv to avoid an issue with the Android # linker, which does not use symbols of linked shared libraries when resolving # symbols on dlopen(). See https://github.com/termux/termux-packages/issues/462. @@ -37,8 +37,7 @@ termux_step_configure () { elif [ $TERMUX_ARCH = "x86_64" ]; then DEST_CPU="x64" else - echo "Unsupported arch: $TERMUX_ARCH" - exit 1 + termux_error_exit "Unsupported arch '$TERMUX_ARCH'" fi # See note above TERMUX_PKG_DEPENDS why we do not use a shared libuv.