From 910725b49ddf5c827658717f458fb14d0044f251 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 26 Aug 2011 10:32:26 -0400 Subject: [PATCH] Fix pgrminclude regex pattern. --- src/tools/pginclude/pgrminclude | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude index ba13c4a7a7..e0173fdc5f 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" -- 2.40.0