step_setup_variables: fix warning about undefined TERMUX_MAIN_PACKAGE_FORMAT
This commit is contained in:
parent
895f51f884
commit
42b4712c15
@ -1,5 +1,5 @@
|
||||
termux_step_setup_variables() {
|
||||
: "${TERMUX_PACKAGE_FORMAT:="$(([ -n "$TERMUX_MAIN_PACKAGE_FORMAT" ] && echo "$TERMUX_MAIN_PACKAGE_FORMAT") || echo "debian")"}" # debian, pacman
|
||||
: "${TERMUX_PACKAGE_FORMAT:="$([ ! -z "${TERMUX_MAIN_PACKAGE_FORMAT+x}" ] && echo "$TERMUX_MAIN_PACKAGE_FORMAT" || echo "debian")"}" # debian, pacman
|
||||
: "${TERMUX_ARCH:="aarch64"}" # arm, aarch64, i686 or x86_64.
|
||||
: "${TERMUX_OUTPUT_DIR:="${TERMUX_SCRIPTDIR}/output"}"
|
||||
: "${TERMUX_DEBUG_BUILD:="false"}"
|
||||
|
Loading…
Reference in New Issue
Block a user