ocurrent / obuilder

Experimental "docker build" alternative using btrfs/zfs snapshots
Apache License 2.0
60 stars 17 forks source link

Search for bash rather than assume it lies in /bin #159

Closed dustanddreams closed 1 year ago

dustanddreams commented 1 year ago

The default shell used to run obuilder commands is currently /bin/bash. While this works under Linux and MacOS, this will fail under *BSD where bash, once installed, will be /usr/local/bin/bash.

This PR tries to make the location of bash flexible:

This PR is necessary for the manifest.bash test to pass under FreeBSD.