Fix pgrminclude regex pattern.

This commit is contained in:
Bruce Momjian 2011-08-26 10:32:26 -04:00
parent 6a56a38f01
commit 910725b49d

View File

@ -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"