From: Sebastian Pipping Date: Thu, 13 Jan 2011 15:20:14 +0000 (+0100) Subject: Feed back names of patches applied successfully X-Git-Tag: v3.4.11~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=469153a098073077e41085b6ff5faa92a14b4cb9;p=genkernel.git Feed back names of patches applied successfully --- diff --git a/gen_compile.sh b/gen_compile.sh index 3ee8a6b..5052320 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -214,8 +214,10 @@ apply_patches() { break fi done - if [ ${patch_success} != 1 ] + if [ ${patch_success} -eq 1 ] then + print_info 1 " - `basename ${i}`" + else gen_die "could not apply patch ${i} for ${util}-${version}" fi done