[vlc-devel] [PATCH] vpx: force bash for build scripts

Sean McGovern gseanmcg at gmail.com
Wed Apr 2 23:26:08 CEST 2014


---
 contrib/src/vpx/rules.mak |    1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index a22abd1..adae3c1 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -20,6 +20,7 @@ ifneq ($(which bash),/bin/bash)
 		s,^\#!/bin/bash,\#!`which bash`,g \
 		`grep -Rl ^\#!/bin/bash libvpx-$(VPX_VERSION)`
 endif
+	sed -i.orig -e s,^\#!/bin/sh,\#!`which bash`, libvpx-$(VPX_VERSION)/{configure,build/make/*.sh}
 	$(MOVE)
 
 DEPS_vpx =
-- 
1.7.9.2




More information about the vlc-devel mailing list