From c086de3165569b704164ed0b875599be33ae69dd Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 21 Jun 2020 17:36:38 +0300 Subject: [PATCH] scripts/bin/update-checksum: fix generation of commit message --- scripts/bin/update-checksum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bin/update-checksum b/scripts/bin/update-checksum index 771640ae5..cffa9f649 100755 --- a/scripts/bin/update-checksum +++ b/scripts/bin/update-checksum @@ -81,13 +81,13 @@ for package in "${@}"; do git diff --patch "${buildsh_path}" echo "--------------------" echo - echo "${1}: update to $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}")" + echo "${package}: update to $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}" | cut -d: -f2-)" echo read -re -p "Do you want to commit changes ? (y/n) " CHOICE echo if [[ ${CHOICE} =~ (Y|y) ]]; then git add "${buildsh_path}" - git commit -m "${package}: update to $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}")" + git commit -m "${package}: update to $(. "${buildsh_path}"; echo "${TERMUX_PKG_VERSION}" | cut -d: -f2-)" else echo "Not committing to Git!" fi