> > ================================== make test 
> > ===================================
> > make[2]: Leaving directory `/share/chroot/on81/tmp/vim72a/src'
> > if test -n "" -a -f po/Makefile; then \
> >                 cd po; make -f Makefile check VIM=../vim; \
> >         fi
> > if test vim != vim -a ! -e vim; then \
> >                 ln -s vim vim; \
> >         fi
> > /bin/sh: test: argument expected
> > make[1]: [test] Error 1 (ignored)
> > ================================================================================


> I don't get that on Solaris 9 sparc.
> I'm using GNU make, don't know if that makes a difference to you.

The make itself won't be difference, the shell used by the make program
is.

$ /bin/sh -c '[ -e /bin/ls ] && echo exists'
/bin/sh: test: argument expected
$ /bin/bash -c '[ -e /bin/ls ] && echo exists'
exists
$ /bin/ksh -c '[ -e /bin/ls ] && echo exists'
exists

mine src/Makefile contains

SHELL = /bin/sh

What does yours ?

-- 
        Vlad

Attachment: pgpnvUaHBcZxw.pgp
Description: PGP signature

Raspunde prin e-mail lui