Skip to content

functions: fix script interpreter lookup in add_binary

nl6720 requested to merge nl6720/mkinitcpio:functions-interpreter-fix into master

Account for there being (multiple) spaces in the shebang.

If type -P finds the interpreter in PATH on BUILDROOT, then there is no need to assign the new value and use it for lookup later. At that stage the interpreter has been found to exist.

Merge request reports