public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Question regarding shebang /bin/sh
@ 2020-04-07 15:24 Peter Müller
  2020-04-07 15:27 ` Michael Tremer
  2020-04-07 16:06 ` Tapani Tarvainen
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Müller @ 2020-04-07 15:24 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hello *,

quite a bunch of initscripts in IPFire 2.x contains the /bin/sh as given interpreter
in their shebang line. Since /bin/sh is a symlink to /bin/bash, I guess it makes sense
to rewrite them to /bin/bash accordingly.

That way, we avoid potential collateral damage by following symlinks (dangerous!) and provide
additional information so tools like shellcheck know what they are actually dealing with.

Opinions?

Thanks, and best regards,
Peter Müller

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-07 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 15:24 Question regarding shebang /bin/sh Peter Müller
2020-04-07 15:27 ` Michael Tremer
2020-04-07 16:06 ` Tapani Tarvainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox