diff --git a/build-package.sh b/build-package.sh index a81b3a449..a4e41ddb5 100755 --- a/build-package.sh +++ b/build-package.sh @@ -99,14 +99,14 @@ source "$TERMUX_SCRIPTDIR/scripts/build/termux_download_deb.sh" # shellcheck source=scripts/build/termux_get_repo_files.sh source "$TERMUX_SCRIPTDIR/scripts/build/termux_get_repo_files.sh" -# Source the package build script and start building. Not to be overridden by packages. -# shellcheck source=scripts/build/termux_step_start_build.sh -source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_start_build.sh" - # Download or build dependencies. Not to be overridden by packages. # shellcheck source=scripts/build/termux_step_get_dependencies.sh source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_get_dependencies.sh" +# Source the package build script and start building. Not to be overridden by packages. +# shellcheck source=scripts/build/termux_step_start_build.sh +source "$TERMUX_SCRIPTDIR/scripts/build/termux_step_start_build.sh" + # Run just after sourcing $TERMUX_PKG_BUILDER_SCRIPT. Can be overridden by packages. # shellcheck source=scripts/build/get_source/termux_step_get_source.sh source "$TERMUX_SCRIPTDIR/scripts/build/get_source/termux_step_get_source.sh" @@ -368,8 +368,8 @@ while (($# > 0)); do termux_step_setup_variables termux_step_handle_buildarch - termux_step_start_build termux_step_get_dependencies + termux_step_start_build cd "$TERMUX_PKG_CACHEDIR" termux_step_get_source cd "$TERMUX_PKG_SRCDIR"