-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
在所有脚本中,你们都使用了 #!/bin/sh 的 Shebang,但却用了非 POSIX 的 Bash 扩展语法(比如 EDK2/build.sh 的第 39 行:source ./edksetup.sh),这导致在一些把 /bin/sh 设置为 POSIX Shell(如 dash)的系统上无法正常编译,请把语法修正为 POSIX 兼容或调整 Shebang 为 #!/usr/bin/env bash
In all your scripts, you've used the Shebang directive #!/bin/sh, but you've used non-POSIX Bash extended syntax (e.g., line 39 of EDK2/build.sh: source ./edksetup.sh). This causes compilation errors on some systems that use POSIX-compliant shells (like dash). Please correct the syntax to POSIX compatibility or change the Shebang directive to #!/usr/bin/env bash.
Metadata
Metadata
Assignees
Labels
No labels