diff options
author | Bruce Momjian | 2008-04-16 21:03:08 +0000 |
---|---|---|
committer | Bruce Momjian | 2008-04-16 21:03:08 +0000 |
commit | 40f18cead92634bae63eb575061022e9810ff125 (patch) | |
tree | 9709864d5193bee766b42d0aac446941a916b167 | |
parent | d0d0a942ea67f2c80693f90380ecd1dc287b1466 (diff) |
Ignore blank lines in typedef file.
-rwxr-xr-x | src/tools/pgindent/pgindent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent index 766a2ead8e..99dc17c939 100755 --- a/src/tools/pgindent/pgindent +++ b/src/tools/pgindent/pgindent @@ -133,7 +133,7 @@ do # We get the list of typedef's from /src/tools/find_typedef indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l79 \ -lp -nip -npro -bbb $EXTRA_OPTS \ - `cat "$TYPEDEFS" | sed 's/.*/-T& /'` \ + `cat "$TYPEDEFS" | sed -e '/^$/d' -e 's/.*/-T& /'` \ /tmp/$$a >/tmp/$$ 2>&1 if [ "$?" -ne 0 -o -s /tmp/$$ ] |