From 2b21cd67dc9d2805d732dbf7a8cc0224518df145 Mon Sep 17 00:00:00 2001 From: Ilya Zakharevich Date: Sun, 3 Mar 2002 21:28:51 -0500 Subject: perly-fixer Message-Id: <20020304022851.A14119@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14987 --- perly.fixer | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'perly.fixer') diff --git a/perly.fixer b/perly.fixer index 16ea925144..1c07724e63 100755 --- a/perly.fixer +++ b/perly.fixer @@ -18,6 +18,9 @@ # Also edit some practices gcc -Wall finds questionable. # +gnupatch=patch +. config.sh + input=$1 output=$2 tmp=/tmp/f$$ @@ -37,7 +40,7 @@ if grep 'yaccpar 1.8 (Berkeley)' $input >/dev/null 2>&1; then cp $input $output # Don't expect the diff to do everything -- do some by hand if test -f perly_c.diff; then - patch -F3 $output /dev/null 2>&1; then exit elif grep 'yaccpar 1.9 (Berkeley)' $input >/dev/null 2>&1; then if test -f perly.c.dif9; then - patch -F3 $output