RE: 1.7.1: dash/ash test -x broken?

2010-02-10 Thread Cobb, Christopher (Contr) (IS)
04(SophosUser) I also see the same thing with -w: $ bash -c "test -w '$JAVACMD';"' echo $?' 0 $ dash -c "test -w '$JAVACMD';"' echo $?' 1 $ ash -c "test -w '$JAVACMD';"' echo $?' 1 -Origi

1.7.1: dash/ash test -x broken?

2010-02-09 Thread Cobb, Christopher (Contr) (IS)
I recently upgraded to 1.7.1. I have noticed that dash/ash shell scripts which test for the executability of files don't work. For example, the maven build application comes with a 'mvn' script which contains this line: if [ ! -x "$JAVACMD" ] ; then print error message fi This scrip