Fix for defaults in createuser

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Fix for defaults in createuser
Date: 2001-01-21 05:16:10
Message-ID: 200101210516.AAA12928@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Turns out some of the environment variable tests weren't quoted, making
default answers return 'test' failures, i.e.:

! if [ $REPLY = "y" -o $REPLY = "Y" ]; then

fixed to:

! if [ "$REPLY" = "y" -o "$REPLY" = "Y" ]; then

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 10.2 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Denis Perchine 2001-01-21 06:48:17 Re: Re: [PATCHES] Patch to support transactions with BLOBs for current CVS
Previous Message Tom Lane 2001-01-21 04:39:52 Re: Re: [PATCHES] Patch to support transactions with BLOBs for current CVS