If the SPDX license identifier is in the first line the shell does not recognize which interpreter shall be used to execute the script.
Cf. https://www.kernel.org/doc/html/v4.16/process/license-rules.html for scripts which require the '#!PATH_TO_INTERPRETER' in the first line (...) the SPDX identifier goes into the second line. Signed-off-by: Heinrich Schuchardt <[email protected]> --- scripts/mailmapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mailmapper b/scripts/mailmapper index f73f3dc1787..2e2d7faff57 100755 --- a/scripts/mailmapper +++ b/scripts/mailmapper @@ -1,5 +1,5 @@ -# SPDX-License-Identifier: GPL-2.0+ #!/usr/bin/env python2 +# SPDX-License-Identifier: GPL-2.0+ # # Copyright (C) 2014, Masahiro Yamada <[email protected]> -- 2.17.1 _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

