No. That works fine. Its the application logic that get's in the way. Maybe I 
find a workaround using `sh` but it'll be a few days I have time to work on it 
again.

Thanks.

Best regards
Oliver

PS Throwing a crazy idea out there: Java7 rewrite for Maven using JSR203 
accessing POSIX file permissions

 

Am 27.01.2011 um 19:42 schrieb Haszlakiewicz, Eric:

>> -----Original Message-----
>> From: Oliver Schrenk [mailto:oliver.schr...@gmail.com]
>> 
>> It's a good idea but not suitable for my case. If I'm calling sh, the real
>> script would be an argument.In my case this would break the test cases for
>> my command line argument validation tool.
> 
> cat > aa.sh <<EOF
> #!/bin/sh
> echo 0:$0
> echo 1:$1
> EOF
>> chmod +x aa.sh
>> ./aa.sh
> 0:./aa.sh
> 1:
>> ./aa.sh a
> 0:./aa.sh
> 1:a
>> sh ./aa.sh a
> 0:./aa.sh
> 1:a
> 
> That looks exactly the same to me.  What kind of shell are you using that 
> breaks this?
> 
> eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to