diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-12-18 10:12:11 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-12-18 10:12:11 +0000 |
commit | 04646e799c5638621ba38a09e9f70c99e079e32e (patch) | |
tree | 4f816ffb719e0fa980ab74b0416768b6777e6ad9 | |
parent | Handle errors from the patching subshell in different ways depending on the c... (diff) | |
download | autoepatch-04646e799c5638621ba38a09e9f70c99e079e32e.tar.gz autoepatch-04646e799c5638621ba38a09e9f70c99e079e32e.tar.bz2 autoepatch-04646e799c5638621ba38a09e9f70c99e079e32e.zip |
Announce the patchset first and the targets one by one later.
svn path=/trunk/; revision=10
-rwxr-xr-x | autoepatch.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/autoepatch.sh b/autoepatch.sh index 1b1dd07..b4f623f 100755 --- a/autoepatch.sh +++ b/autoepatch.sh @@ -46,8 +46,10 @@ main() { targets="$(patch_targets)" [[ -z ${targets} ]] && exit 0 + einfo "Testing ${patchset##*/} ..." + while read target; do - einfo "Testing ${patchset##*/} on ${target##$(pwd)/} ..." + einfo " on ${target##$(pwd)/} ..." for patch in "${patchset}"/*.patch; do if try_patch "${target}" "${patch}"; then |