projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a56a38
)
Fix pgrminclude regex pattern.
author
Bruce Momjian
<bruce@momjian.us>
Fri, 26 Aug 2011 14:32:26 +0000
(10:32 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 26 Aug 2011 14:33:18 +0000
(10:33 -0400)
src/tools/pginclude/pgrminclude
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/pginclude/pgrminclude
b/src/tools/pginclude/pgrminclude
index ba13c4a7a727e3c18adf3dd189827b0396d2994c..e0173fdc5f2a0457ae881dcd452288274c821522 100755
(executable)
--- 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"