From 477550f1fadbe30cbf722a4974cd92ec65e12d19 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 25 May 2014 22:19:13 +0200 Subject: fix update-patches, need continue 2 to exit from inner loop and outer loop --- scripts/update-patches | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/update-patches') diff --git a/scripts/update-patches b/scripts/update-patches index bf0f134ac..98d4324ba 100644 --- a/scripts/update-patches +++ b/scripts/update-patches @@ -90,10 +90,9 @@ DIFF_FLAGS="$DIFF_FLAGS -I \"^\+\+\+ $(print -r -- "$D_SUBP/" | $TRANSFORM)@@ .* (cd "${WRKDIST}"; find . -type f -print0) |& while IFS= read -p -d '' -r file; do file=${file#./} - #print -r -- "DEBUG: <$file>" >>/tmp/debug [[ ! -e $ORGDIST/$file && $patch_newfiles = 0 ]] && continue for i in $DIFF_IGNOREFILES; do - [[ $file = $i ]] && continue + [[ $file = $i ]] && continue 2 done cmp -s "$ORGDIST/$file" "$WRKDIST/$file" && continue print -ru2 -- "Processing ${file}..." -- cgit v1.2.3