build-package: mv termux_step_finish_build to scripts/build/

This commit is contained in:
Henrik Grimler 2019-02-27 20:00:42 +01:00 committed by Leonid Pliushch
parent 90138a3a69
commit 67d79e8b92
2 changed files with 8 additions and 7 deletions

View File

@ -126,13 +126,7 @@ source scripts/build/termux_step_create_debfile.sh
source scripts/build/termux_step_compare_debs.sh
# Finish the build. Not to be overridden by package scripts.
termux_step_finish_build() {
echo "termux - build of '$TERMUX_PKG_NAME' done"
test -t 1 && printf "\033]0;%s - DONE\007" "$TERMUX_PKG_NAME"
mkdir -p /data/data/.built-packages
echo "$TERMUX_PKG_FULLVERSION" > "/data/data/.built-packages/$TERMUX_PKG_NAME"
exit 0
}
source scripts/build/termux_step_finish_build.sh
termux_step_handle_arguments "$@"
termux_step_setup_variables

View File

@ -0,0 +1,7 @@
termux_step_finish_build() {
echo "termux - build of '$TERMUX_PKG_NAME' done"
test -t 1 && printf "\033]0;%s - DONE\007" "$TERMUX_PKG_NAME"
mkdir -p /data/data/.built-packages
echo "$TERMUX_PKG_FULLVERSION" > "/data/data/.built-packages/$TERMUX_PKG_NAME"
exit 0
}