aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-08-28 19:59:23 +0100
committerRon Yorston <rmy@pobox.com>2017-08-30 17:17:14 +0100
commit97e2c4a05e8efa0e3e3a3c256daa05676dc5484e (patch)
treea473ebe18bdd37baafc4882a8a84d44b272fda88 /shell
parent862e1bd8d6117d5b44e3ab431b3a6837d8e44040 (diff)
downloadbusybox-w32-97e2c4a05e8efa0e3e3a3c256daa05676dc5484e.tar.gz
busybox-w32-97e2c4a05e8efa0e3e3a3c256daa05676dc5484e.tar.bz2
busybox-w32-97e2c4a05e8efa0e3e3a3c256daa05676dc5484e.zip
win32: changes to treatment of scripts
Simplify how scripts are detected by parse_interpreter. It now: - uses strtok to parse the line buffer; - returns any options as a single string, not an array of separate options; - returns both the full path of the interpreter and its name. When a script is detected the sequence is now: - if the path to the interpreter refers to an executable run that; - else look up the interpreter name as a applet (if so configured) and run the applet found; - else search for the interpreter name on PATH.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions