Improved grepping of patch output.
authorWayne Davison <wayned@samba.org>
Sat, 24 Apr 2004 08:16:26 +0000 (08:16 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 24 Apr 2004 08:16:26 +0000 (08:16 +0000)
verify-patches

index 849034c..4037362 100755 (executable)
@@ -44,7 +44,7 @@ for xx in "${@}"; do
            done
            if grep "^Hunk #[0-9]* FAILED" ,patch.output >/dev/null; then
                default=F
-           elif grep "^Hunk #[0-9]* succeeded at [0-9]* (offset" ,patch.output >/dev/null; then
+           elif grep "^Hunk #[0-9]* succeeded" ,patch.output >/dev/null; then
                default=E
            else
                default=N