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