Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Getting the CVS revision of Zsh



At 20:13 +0000 09.1.9, Peter Stephenson wrote:
> +patchlevel.h: $(sdir_top)/ChangeLog
> +	{ \
> +	  echo -n "#define ZSH_PATCHLEVEL "; \

This does not work on MacOSX 10.5 (Leopard), because sh's builtin
echo does not accept the option '-n':

Leopard$ /bin/sh -c 'echo -n foo'
-n foo
Leopard$ /bin/bash -c 'echo -n foo'
foo

A quick fix would be to use "/bin/echo -n" or "printf"
in place of "echo -n".



Messages sorted by: Reverse Date, Date, Thread, Author