From: Sebastian Pipping Date: Thu, 13 Jan 2011 15:19:45 +0000 (+0100) Subject: Skip files in apply_patches() as *{diff,patch} produces "*diff" with no .diff files... X-Git-Tag: v3.4.11~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=841b73274040a8e94beab2c19e50814b331f6bf2;p=genkernel.git Skip files in apply_patches() as *{diff,patch} produces "*diff" with no .diff files around --- diff --git a/gen_compile.sh b/gen_compile.sh index 109e949..3ee8a6b 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -203,6 +203,7 @@ apply_patches() { print_info 1 "${util}: >> Applying patches..." for i in ${GK_SHARE}/patches/${util}/${version}/*{diff,patch} do + [ -f "${i}" ] || continue patch_success=0 for j in `seq 0 5` do