--- ./build/contrib/x264/x264/configure.orig 2012-01-19 07:48:34.000000000 +0800 +++ ./build/contrib/x264/x264/configure 2012-08-23 09:37:56.000000000 +0800 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if test x"$1" = x"-h" -o x"$1" = x"--help" ; then cat < x264_config.h << EOF #define X264_BIT_DEPTH $bit_depth #define X264_GPL $x264_gpl --- ./build/contrib/x264/x264/version.sh.orig 2012-01-19 07:48:34.000000000 +0800 +++ ./build/contrib/x264/x264/version.sh 2012-08-22 12:00:27.000000000 +0800 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh [ -n "$1" ] && cd $1 git rev-list HEAD | sort > config.git-hash LOCALVER=`wc -l config.git-hash | awk '{print $1}'`