diff --git a/disabled-packages/nodejs-current/build.sh b/disabled-packages/nodejs-current/build.sh index 618ab452d..0923e73ab 100644 --- a/disabled-packages/nodejs-current/build.sh +++ b/disabled-packages/nodejs-current/build.sh @@ -39,8 +39,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 export GYP_DEFINES="host_os=linux" diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index 98baea4c6..7b5fb4af9 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -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. diff --git a/packages/python2/build.sh b/packages/python2/build.sh index 5304a0393..3e9df76d2 100644 --- a/packages/python2/build.sh +++ b/packages/python2/build.sh @@ -70,7 +70,7 @@ termux_step_post_massage () { # Verify that desired modules have been included: for module in _ssl bz2 zlib _curses _sqlite3; do if [ ! -f lib/python${_MAJOR_VERSION}/lib-dynload/${module}.so ]; then - termux_error_exit "ERROR: Python module library $module not built" + termux_error_exit "Python module library $module not built" fi done }