Arbitrarily restricting ourselves from using bash because developers on
platforms like netbsd don't want to install bash from ports doesn't
make sense. Any non-trivial shell script is likely to use features
like arrays or string manipulation that are poorly supported (if at
all) by sh, and the continued bumping of the number of expected bash
scripts is an indication that the check is not serving its purpose
anyway.
Along with removing the check, all shebang references to /bin/bash
have been replaced with /usr/bin/env bash in an attempt to be more
compatible across different hosts.
Reviewed: https:/ /review. openstack. org/170939 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=e37dcd4c76e 3ab61c585b116c3 4d32382c592b9f
Committed: https:/
Submitter: Jenkins
Branch: master
commit e37dcd4c76e3ab6 1c585b116c34d32 382c592b9f
Author: Maru Newby <email address hidden>
Date: Tue Apr 7 15:00:25 2015 +0000
Remove check for bash usage
Arbitrarily restricting ourselves from using bash because developers on
platforms like netbsd don't want to install bash from ports doesn't
make sense. Any non-trivial shell script is likely to use features
like arrays or string manipulation that are poorly supported (if at
all) by sh, and the continued bumping of the number of expected bash
scripts is an indication that the check is not serving its purpose
anyway.
Along with removing the check, all shebang references to /bin/bash
have been replaced with /usr/bin/env bash in an attempt to be more
compatible across different hosts.
Change-Id: Ief72dc380cc88a f38959c330897e2 c127e33c332
Closes-Bug: #1440824