diff options
| author | ruki <[email protected]> | 2022-09-16 00:46:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-16 00:46:00 +0800 |
| commit | 1fb310ac5b3eb8100281021429994c53de30ccfd (patch) | |
| tree | bf54ba8a8528464f0de71b7a051ed99a8d3a5b90 | |
| parent | 70dad3d816b657aab6ef678aac385cc726f16c4f (diff) | |
update comments
| -rw-r--r-- | xmake/core/base/os.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 0cf133491..4a357085d 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -754,7 +754,8 @@ function os.execv(program, argv, opt) local file = io.open(filename, 'r') local head = file:read("l") if head and head:startswith("#!") then - -- we cannot run /bin/sh directly on msys2/cygwin + -- we cannot run `/bin/sh` directly on msys2/cygwin + -- because `/bin/sh` is not real file path, maybe we need convert it. local subhost = os.subhost() if subhost == "msys" or subhost == "cygwin" then filename = "sh" |
