termux-api: Break out source into separate repo
[termux-packages] / packages / nodejs / build.sh
index 98baea4..7b5fb4a 100644 (file)
@@ -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.