ublk-org / ublksrv

ublk: userspace block device driver
MIT License
138 stars 47 forks source link

Move SPDX comment line in scripts #25

Closed reubeno closed 1 year ago

reubeno commented 1 year ago

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.)