Fix bash shebangs without buildinputs?

I noticed that some of netdata’s plugins silently fail due to bash not being in their path.

I have this commit that fixes it, but I’m worried about the fact that I’m adding bash to the buildinputs.

Is there a chance that this breaks cross builds?

If so, how should I patch the shebangs then?

2 Likes

You could run checkbashisms against the plugins to see if you can safely patch the shebangs to sh.