summaryrefslogtreecommitdiff
path: root/src/tools/pginclude/pgrminclude
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/pginclude/pgrminclude')
-rwxr-xr-xsrc/tools/pginclude/pgrminclude6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/pginclude/pgrminclude b/src/tools/pginclude/pgrminclude
index 1e99b12b73..a8ec10a486 100755
--- a/src/tools/pginclude/pgrminclude
+++ b/src/tools/pginclude/pgrminclude
@@ -4,7 +4,7 @@
# src/tools/pginclude/pgrminclude
trap "rm -f /tmp/$$.c /tmp/$$.o /tmp/$$ /tmp/$$a /tmp/$$b" 0 1 2 3 15
-find . \( -name CVS -a -prune \) -o -type f -name '*.[ch]' -print |
+find . \( -name CVS -a -prune \) -o -type f -name '*.[ch]' -print |
grep -v '\./postgres.h' |
grep -v '\./pg_config.h' |
grep -v '\./c.h' |
@@ -14,7 +14,7 @@ do
then IS_INCLUDE="Y"
else IS_INCLUDE="N"
fi
-
+
# loop through all includes
cat "$FILE" | grep "^#include" |
sed 's/^#include[ ]*[<"]\([^>"]*\).*$/\1/g' |
@@ -39,7 +39,7 @@ do
# remove defines from include files
if [ "$IS_INCLUDE" = "Y" ]
- then cat "$FILE" | grep -v "^#if" | grep -v "^#else" |
+ then cat "$FILE" | grep -v "^#if" | grep -v "^#else" |
grep -v "^#endif" | sed 's/->[a-zA-Z0-9_\.]*//g' >/tmp/$$a
else cat "$FILE" >/tmp/$$a
fi