diff --git a/scripts/build/termux_step_start_build.sh b/scripts/build/termux_step_start_build.sh index f235988ff..fe5b57302 100644 --- a/scripts/build/termux_step_start_build.sh +++ b/scripts/build/termux_step_start_build.sh @@ -47,7 +47,7 @@ termux_step_start_build() { fi fi - if [ "$TERMUX_INSTALL_DEPS" == true ] && [ "$TERMUX_PKG_DEPENDS" != "${TERMUX_PKG_DEPENDS/libllvm/}" ]; then + if [ "$TERMUX_INSTALL_DEPS" == true ] && [ "$TERMUX_PKG_DEPENDS" != "${TERMUX_PKG_DEPENDS/libllvm/}" ]; then LLVM_DEFAULT_TARGET_TRIPLE=$TERMUX_HOST_PLATFORM if [ $TERMUX_ARCH = "arm" ]; then LLVM_TARGET_ARCH=ARM @@ -58,7 +58,7 @@ termux_step_start_build() { elif [ $TERMUX_ARCH = "x86_64" ]; then LLVM_TARGET_ARCH=X86 fi - LIBLLVM_VERSION=$(grep "TERMUX_PKG_VERSION=" $TERMUX_SCRIPTDIR/packages/libllvm/build.sh | cut -c20- ) + LIBLLVM_VERSION=$(grep "TERMUX_PKG_VERSION=" $TERMUX_SCRIPTDIR/packages/libllvm/build.sh | cut -c20- ) echo "$LIBLLVM_VERSION" sed $TERMUX_SCRIPTDIR/packages/libllvm/llvm-config.in \ -e "s|@TERMUX_PKG_VERSION@|$LIBLLVM_VERSION|g" \