From 841b73274040a8e94beab2c19e50814b331f6bf2 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 13 Jan 2011 16:19:45 +0100 Subject: [PATCH] Skip files in apply_patches() as *{diff,patch} produces "*diff" with no .diff files around --- gen_compile.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2