Ticket #34 (new enhancement)

Opened 11 months ago

[patch] Replace /bin/bash with /bin/sh in shell script shebangs

Reported by: oleg Assigned to: giblet
Priority: normal Milestone:
Component: misc Version: 1.3.4
Severity: trivial Keywords:
Cc:

Description

The attached patch replaces references to /bin/bash with /bin/sh in shell scripts. I looked through the scripts and they don't seem to be making use of anything bash-specific. I also ran all test* scripts under FreeBSD's sh (after building feh) and they appear to work fine.

In Linux, /bin/sh tends to be linked to /bin/bash so this patch will be a no-op. Under *BSD however, this removes the need to have bash installed just to run feh.

Attachments

feh-bash-to-sh.diff (9.4 kB) - added by oleg on 10/17/07 20:19:16.
Patch replacing /bin/bash with /bin/sh in shell script shebangs

Change History

10/17/07 20:19:16 changed by oleg

  • attachment feh-bash-to-sh.diff added.

Patch replacing /bin/bash with /bin/sh in shell script shebangs