Am 16.05.2010, 18:10 Uhr, schrieb David Gálvez <dgalvez75@gmail.com>:
I don't know if i got you, you mean any existing and non-existing file? if so here the output david@juanito:~/CVS/freemint/helmut-enhancements/freemint/xaaes/src.km$ if [ xversion.sh -nt xversion.hhhh ]; then echo ASDASD; fi ASDASD
Yes. The output is correct. ...
+ [ xcb.h -nt xversion.h ] + echo xcb.h xcb.h + [ xversion.h -nt xversion.h -o ! -f xversion.h] [: 1: missing ]
You need a space before the last ]: [ xversion.h -nt xversion.h -o ! -f xversion.h ]
Try again with this. But it should work unless make uses another shell than you use interactively. Is /bin/sh bash?
-- Helmut Karlowski