While trying to run the tests present in this project, I saw syntax errors. I realized that this was because my default shell is zsh (not bash); the scripts are supposed to run under bash, but this wasn't happening because the #!/bin/bash comment lines were moved below SPDX comment lines. (As a result, the #! line was just treated as a plain-old comment.)
This change rearranges these comment lines to address the above issue.
(For what it's worth the kernel's license rules address this particular case -- indicating that, for scripts, the SPDX lines should be placed below the #! line.)
While trying to run the tests present in this project, I saw syntax errors. I realized that this was because my default shell is
zsh
(notbash
); the scripts are supposed to run underbash
, but this wasn't happening because the#!/bin/bash
comment lines were moved below SPDX comment lines. (As a result, the#!
line was just treated as a plain-old comment.)This change rearranges these comment lines to address the above issue.
(For what it's worth the kernel's license rules address this particular case -- indicating that, for scripts, the SPDX lines should be placed below the
#!
line.)