[BusyBox] [patch] ash problem with shell scripts (repost)

Glenn McGrath bug1 at optushome.com.au
Mon Sep 15 07:22:34 UTC 2003


On 15 Sep 2003 09:05:03 +0200
Jean Wolter <jw5 at os.inf.tu-dresden.de> wrote:

> Is this the error message leading to your statement: "But, i get the
> same error with and without your patch."? Then  maybe you should read
> my bug description once again:
> 
> "It correctly locates the script, tries to execute it via execve which
> fails. After that it tries to hand it over to /bin/sh which fails too,
> since ash 
> 
>     - neither provides the absolute pathname to /bin/sh
>     - nor tries to lookup the script via PATH if called as "sh script"
> "

Yes, sorry, i got a bit lost in your bugreport.
 
> To make the last statement work ash would have to lookup test.sh via
> PATH which for some reasons it doesn't. Adding this would be a better
> alternative to my patch.

Im not really familiar with ash, but i will see if i can work it out.


Glenn



More information about the busybox mailing list