summaryrefslogtreecommitdiffstats
path: root/src/x264-1-fix-bin-bash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/x264-1-fix-bin-bash.patch')
-rw-r--r--src/x264-1-fix-bin-bash.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x264-1-fix-bin-bash.patch b/src/x264-1-fix-bin-bash.patch
index e7c98b9..fa5b7e7 100644
--- a/src/x264-1-fix-bin-bash.patch
+++ b/src/x264-1-fix-bin-bash.patch
@@ -6,16 +6,16 @@ diff -urN x264-snapshot-20100714-2245/configure x264-snapshot-20100714-2245.new/
+++ x264-snapshot-20100714-2245.new/configure 2010-10-03 23:58:24.000000000 +1100
@@ -1,4 +1,4 @@
-#!/bin/bash
-+#!/bin/sh
++#!/usr/bin/env bash
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
-
+ cat <<EOF
diff -urN x264-snapshot-20100714-2245/version.sh x264-snapshot-20100714-2245.new/version.sh
--- x264-snapshot-20100714-2245/version.sh 2010-07-15 06:45:07.000000000 +1000
+++ x264-snapshot-20100714-2245.new/version.sh 2010-10-03 23:58:24.000000000 +1100
@@ -1,4 +1,4 @@
-#!/bin/bash
-+#!/bin/sh
++#!/usr/bin/env bash
git rev-list HEAD | sort > config.git-hash
LOCALVER=`wc -l config.git-hash | awk '{print $1}'`
if [ $LOCALVER \> 1 ] ; then