Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2010 15:34:13 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Jason Garrett <kingedgar@gmail.com>, FreeBSD Ports <freebsd-ports@FreeBSD.org>
Subject:   Re: lang/guile fails to build on amd64 / 9-CURRENT
Message-ID:  <4BA37D55.9010909@icyb.net.ua>
In-Reply-To: <4BA2894E.7090803@FreeBSD.org>
References:  <970380131003171146g73c81069t4fff06a349c2acc3@mail.gmail.com>	<970380131003171835i19383b57nc52886cc6e64ce25@mail.gmail.com>	<9DAB6E99-9E7F-4444-BC25-5BF219A90E88@mac.com>	<970380131003171900n1dfcab48o4f9d65ff761cf513@mail.gmail.com>	<5EB1BD7C-F1AC-4FA7-B918-C7A661776CFD@mac.com>	<alpine.BSF.2.00.1003180048270.8550@qbhto.arg>	<3630E369-424F-4330-9C6E-92DAE21BBBC2@mac.com> <4BA2894E.7090803@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 18/03/2010 22:13 Doug Barton said the following:
> On 03/18/10 04:43, Chuck Swiger wrote:
>> On Mar 18, 2010, at 12:48 AM, Doug Barton wrote:
>>>> touch /etc/make.conf && echo "CFLAGS += -Wno-error" >> /etc/make.conf
>>> No reason for the touch first, FWIW.
>> Some shells aren't willing to append to files which don't already exist:
>>
>> # echo "CFLAGS += -Wno-error" >> /etc/make.conf
>> zsh: no such file or directory: /etc/make.conf
> 
> Oh, well, that's just stupid. :)  One more reason not to use zsh ...

$ echo "CFLAGS += -Wno-error" >> /tmp/sure-doesnt-exist
$ echo $?
0

This is zsh with default setting.
So, don't blame on zsh what a smart user can inflict upon himself via
configuration :-)

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BA37D55.9010909>