I have encountered a makeself file that has this as the first three lines. #!/bin/sh # This script was generated using Nixstaller with Makeself 2.1.4 # The generated code is orginally based on 'makeself-header.sh' from Makeself, The current version detection grep matches the first AND second lines, which breaks the detection. This is easily fixed by adding -m1 to the grep options and also makes it much faster in the process.
in portage. thanks for the bug report.
bugzilla