diff options
author | Tony Theodore <tonyt@logyst.com> | 2012-12-12 13:02:41 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2012-12-12 13:02:41 (GMT) |
commit | 71c06c963b13900664fe9334d104dbdd7ae67bca (patch) | |
tree | f4b838bc512b31d89803b53cf05796ad6b6b16eb /src/x264-1-fix-bin-bash.patch | |
parent | d0fa988bd3e79bf3feb0b84afddd9bd788d2d6ef (diff) | |
download | mxe-71c06c963b13900664fe9334d104dbdd7ae67bca.zip mxe-71c06c963b13900664fe9334d104dbdd7ae67bca.tar.gz mxe-71c06c963b13900664fe9334d104dbdd7ae67bca.tar.bz2 |
update package x264
Diffstat (limited to 'src/x264-1-fix-bin-bash.patch')
-rw-r--r-- | src/x264-1-fix-bin-bash.patch | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/x264-1-fix-bin-bash.patch b/src/x264-1-fix-bin-bash.patch index 31fe317..daa7375 100644 --- a/src/x264-1-fix-bin-bash.patch +++ b/src/x264-1-fix-bin-bash.patch @@ -1,21 +1,12 @@ This file is part of MXE. See index.html for further information. -diff -urN x264-snapshot-20100714-2245/configure x264-snapshot-20100714-2245.new/configure ---- x264-snapshot-20100714-2245/configure 2010-07-15 06:45:06.000000000 +1000 -+++ x264-snapshot-20100714-2245.new/configure 2010-10-03 23:58:24.000000000 +1100 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!/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 +#!/usr/bin/env bash + [ -n "$1" ] && cd $1 git rev-list HEAD | sort > config.git-hash LOCALVER=`wc -l config.git-hash | awk '{print $1}'` - if [ $LOCALVER \> 1 ] ; then |