summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-25 22:19:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-25 22:20:23 +0200
commit477550f1fadbe30cbf722a4974cd92ec65e12d19 (patch)
tree3170a1ccec6fd77053cd1ee2c926c55c004faeaa
parent5b52fb59575fab6dc3e9e9af8e874289de731611 (diff)
fix update-patches, need continue 2 to exit from inner loop and outer loop
-rw-r--r--scripts/update-patches3
1 files changed, 1 insertions, 2 deletions
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}..."