Bug 72573

Summary: bootstrap.sh: use /usr/bin/env to find bash
Product: PulseAudio Reporter: Allison Lortie (desrt) <desrt>
Component: build-systemAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: [PATCH] bootstrap.sh: use /usr/bin/env to find bash

Description Allison Lortie (desrt) 2013-12-10 18:32:21 UTC
Created attachment 90588 [details]
[PATCH] 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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.