Bug 72573 - bootstrap.sh: use /usr/bin/env to find bash
Summary: bootstrap.sh: use /usr/bin/env to find bash
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: build-system (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 18:32 UTC by Allison Lortie (desrt)
Modified: 2013-12-13 11:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
[PATCH] bootstrap.sh: use /usr/bin/env to find bash (742 bytes, text/plain)
2013-12-10 18:32 UTC, Allison Lortie (desrt)
Details

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.