summaryrefslogtreecommitdiff
path: root/scripts/update-patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-25 20:19:13 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-25 20:20:23 (GMT)
commit477550f1fadbe30cbf722a4974cd92ec65e12d19 (patch)
tree3170a1ccec6fd77053cd1ee2c926c55c004faeaa /scripts/update-patches
parent5b52fb59575fab6dc3e9e9af8e874289de731611 (diff)
fix update-patches, need continue 2 to exit from inner loop and outer loop
Diffstat (limited to 'scripts/update-patches')
-rw-r--r--scripts/update-patches3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/update-patches b/scripts/update-patches
index bf0f134..98d4324 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}..."