diff options
| -rwxr-xr-x | Documentation/maintainers/bump-from-set.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/maintainers/bump-from-set.sh b/Documentation/maintainers/bump-from-set.sh index a1af16541c6..410d991d27a 100755 --- a/Documentation/maintainers/bump-from-set.sh +++ b/Documentation/maintainers/bump-from-set.sh @@ -6,7 +6,6 @@ # dev-util/pkgdev # Optional: # dev-vcs/git -# app-portage/mgorny-dev-scripts # dev-util/pkgcheck : ${PORTDIR:="$(pwd)"} @@ -85,12 +84,12 @@ for cp in ${packages} ; do popd > /dev/null done -if [[ -d "${PORTDIR}/.git" ]] && hash git 2>/dev/null && hash pkgcommit 2>/dev/null; then +if [[ -d "${PORTDIR}/.git" ]] && hash git 2>/dev/null && hash pkgdev 2>/dev/null; then for cp in ${packages} ; do pushd "${PORTDIR}/${cp}" > /dev/null git add . - pkgcommit -sS . -m "${DESTINATIONVERSION} version bump" + pkgdev commit . -m "${DESTINATIONVERSION} version bump" popd > /dev/null done |
