[pulseaudio-commits] bootstrap.sh

Tanu Kaskinen tanuk at kemper.freedesktop.org
Fri Dec 13 03:58:36 PST 2013


 bootstrap.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1588212d5afdd44021fe4654175d26b644fe49ef
Author: Ryan Lortie <desrt at desrt.ca>
Date:   Tue Dec 10 13:26:17 2013 -0500

    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.

diff --git a/bootstrap.sh b/bootstrap.sh
index 8f4d3dc..08e0fa4 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This file is part of PulseAudio.
 #



More information about the pulseaudio-commits mailing list