mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:03:57 +08:00
3700247b55
If you make a script called `foo` somewhere in $PATH, and did not give it a shebang, this would end up calling sh foo instead of sh /usr/bin/foo which might not match up. Especially if the path is e.g. `--version` or `-` that would end up being misinterpreted *by sh*. So instead we simply pass the actual_cmd to sh, because we need it anyway to get it to fail to execute before. |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test_driver.sh | ||
test_env.sh | ||
test_util.fish | ||
test.fish |