Patch by Jean Wolter to fix a bug where a script wouldnt be executed
authorGlenn L McGrath <bug1@ihug.co.nz>
Mon, 15 Sep 2003 12:00:19 +0000 (12:00 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Mon, 15 Sep 2003 12:00:19 +0000 (12:00 -0000)
commit47e5ca1ecb2a86b29c8a52ee3ed276d8b27147cf
tree51a23e67ceb884f57d8c696e4b6131384b5aa2c2
parente3e28d3bb64e1b6d2883ee46405d12179b5b8407
Patch by Jean Wolter to fix a bug where a script wouldnt be executed
unless it had #!/bin/sh in the first line

"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"
"
shell/ash.c