Add a new Porting/podtidy to reformat pod using Pod::Tidy
[p5sagit/p5-mst-13.2.git] / cflags.SH
index b429df6..9e0494e 100755 (executable)
--- a/cflags.SH
+++ b/cflags.SH
@@ -356,8 +356,10 @@ esac
 
 if test -d .git; then
   ccflags="-DPERL_PATCHNUM=`git describe` $ccflags"
-elsif test -f .patch; then
-  ccflags="-DPERL_PATCHNUM=`awk '{print $4}' .patch` $ccflags"
+else
+  if test -f .patch; then
+    ccflags="-DPERL_PATCHNUM=`awk '{print $4}' .patch` $ccflags"
+  fi
 fi
 
     : Can we perhaps use $ansi2knr here