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 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"