Re: little bug in current CVS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: little bug in current CVS
Date
Msg-id 25066.981474891@sss.pgh.pa.us
Whole thread Raw
In response to little bug in current CVS  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: little bug in current CVS  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> make[2]: Entering directory /home/postgres/cvs/pgsql/src/backend'
> prereqdir=`cd parser/ && pwd` && \
>   cd ../../src/include/parser/ && rm -f parse.h && \
>   ln -s $prereqdir/parse.h .
> ln: ./parser: File exists
> make[2]: *** [../../src/include/parser/parse.h] Error 1

Hm.  I bet your shell is failing to strip whitespace from the output of
pwd, so that the ln command ends up looking like
ln -s /home/postgres/cvs/pgsql/src/backend/parser /parse.h .

Can you check that theory by inserting an 'echo'?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: optimizer/planner ideas (repost)
Next
From: Mathieu Dube
Date:
Subject: using the same connection?