From: Vincent Pit Date: Fri, 23 Oct 2009 20:26:57 +0000 (+0200) Subject: "-x ./foo" isn't a shell command, but "[ -x ./foo ]" is X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=68814ba41330ad31d01867d22786a3d8197b605c;p=p5sagit%2Fp5-mst-13.2.git "-x ./foo" isn't a shell command, but "[ -x ./foo ]" is --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index f1d439e..2924b39 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -562,7 +562,7 @@ testcase: perl -ni -we 'print unless /<(?:built-in|command)/' makefile x2p/makefile # if you just need miniperl, replace test_prep with miniperl make -j4 test_prep - -x ./perl || exit 125 + [ -x ./perl ] || exit 125 ./perl -Ilib ~/testcase.pl ret=$? git clean -dxf