From: Bruce Momjian Date: Fri, 26 Aug 2011 14:32:26 +0000 (-0400) Subject: Fix pgrminclude regex pattern. X-Git-Tag: REL9_2_BETA1~1221 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=910725b49ddf5c827658717f458fb14d0044f251;p=thirdparty%2Fpostgresql.git Fix pgrminclude regex pattern. --- diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude index ba13c4a7a72..e0173fdc5f2 100755 --- a/src/tools/pginclude/pgrminclude +++ b/src/tools/pginclude/pgrminclude @@ -13,7 +13,7 @@ while read FILE do # Skip files with #if and #ifdef blocks because the blocks # might contain code that is not compiled on this platform. - grep -q '^if' "$FILE" && continue + grep -q '^#if' "$FILE" && continue if [ `expr $FILE : '.*\.h$'` -ne 0 ] then IS_INCLUDE="Y"