Re: [PATCHES] Interval month, week -> day - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] Interval month, week -> day
Date
Msg-id 200609041935.k84JZnG22067@momjian.us
Whole thread Raw
In response to Re: [PATCHES] Interval month, week -> day  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Michael Meskes <meskes@postgresql.org> writes:
> > On Sun, Sep 03, 2006 at 10:21:11PM -0400, Bruce Momjian wrote:
> >> When I tried the ecpg regression tests it complained there was no
> >> results/ directory.  I created one and it worked.
>
> > Hmm, anyone else experiencing this? The pg_regress.sh has this code that
> > should create it:
>
> > outputdir="results/"
>
> > if [ ! -d "$outputdir" ]; then
> >     mkdir -p "$outputdir" || { (exit 2); exit; }
> > fi
>
> I'll bet you should lose the slash in $outputdir.  test(1) might or
> might not be "friendly" about stripping that off.

Yep, I saw this error:

    mkdir: results/: No such file or directory
    gmake: *** [installcheck] Error 2

I have removed the trailing slash from CVS;  tests run fine now.
Thanks.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Have psql show current sequnce values - (Resubmission)
Next
From: Bruce Momjian
Date:
Subject: Re: TODO Item : GRANT/REVOKE to all schema objects