mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix a logic bug in pgindent.
This commit is contained in:
parent
a0dc23f205
commit
74570db99c
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ run_build($code_base) if ($build);
|
|||
# command line option wins, then first non-option arg,
|
||||
# then environment (which is how --build sets it) ,
|
||||
# then locations. based on current dir, then default location
|
||||
$typedefs_file ||= shift if @ARGV && $ARGV[0] !~ /\\.[ch]$/;
|
||||
$typedefs_file ||= shift if @ARGV && $ARGV[0] !~ /\.[ch]$/;
|
||||
$typedefs_file ||= $ENV{PGTYPEDEFS};
|
||||
|
||||
# build mode sets PGINDENT and PGENTAB
|
||||
|
|
|
|||
Loading…
Reference in a new issue