Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b3fb2d6

Browse files
committed
Make the AWK default value also take effect if $AWK is an empty string.
1 parent 72e1d28 commit b3fb2d6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/utils/Gen_fmgrtab.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
#
1010
#
1111
# IDENTIFICATION
12-
# $PostgreSQL: pgsql/src/backend/utils/Gen_fmgrtab.sh,v 1.38 2008/01/01 19:45:52 momjian Exp $
12+
# $PostgreSQL: pgsql/src/backend/utils/Gen_fmgrtab.sh,v 1.39 2008/05/02 14:16:24 petere Exp $
1313
#
1414
#-------------------------------------------------------------------------
1515

1616
CMDNAME=`basename $0`
1717

18-
: ${AWK='awk'}
18+
if [ x"$AWK" = x"" ]; then
19+
AWK=awk
20+
fi
1921

2022
cleanup(){
2123
[ x"$noclean" != x"t" ] && rm -f "$SORTEDFILE" "$$-$OIDSFILE" "$$-$TABLEFILE"

0 commit comments

Comments
 (0)