bootstrap.sh: use /usr/bin/env to find bash
authorRyan Lortie <desrt@desrt.ca>
Tue, 10 Dec 2013 18:26:17 +0000 (13:26 -0500)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Fri, 13 Dec 2013 11:57:41 +0000 (13:57 +0200)
commit1588212d5afdd44021fe4654175d26b644fe49ef
treeb7dc5d6be5e4e40a0f54cf97167ad648691254ef
parent08287011463430d6e4289263b04428b745de1917
bootstrap.sh: use /usr/bin/env to find bash

bootstrap.sh uses some non-POSIX features of bash, so we can't use
/bin/sh.  Unlike /bin/sh, bash can be installed anywhere in the path, so
we should use /usr/bin/env to find it.

This helps systems that have bash in /usr/local/bin, for example.
bootstrap.sh