소스 검색

fix update-patches, need continue 2 to exit from inner loop and outer loop

Waldemar Brodkorb 10 년 전
부모
커밋
477550f1fa
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      scripts/update-patches

+ 1 - 2
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}..."