Skip files in apply_patches() as *{diff,patch} produces "*diff" with no .diff files around

cleanup-cruft
Sebastian Pipping 14 years ago
parent 3c3765558b
commit 841b732740

@ -203,6 +203,7 @@ apply_patches() {
print_info 1 "${util}: >> Applying patches..." print_info 1 "${util}: >> Applying patches..."
for i in ${GK_SHARE}/patches/${util}/${version}/*{diff,patch} for i in ${GK_SHARE}/patches/${util}/${version}/*{diff,patch}
do do
[ -f "${i}" ] || continue
patch_success=0 patch_success=0
for j in `seq 0 5` for j in `seq 0 5`
do do

Loading…
Cancel
Save