From 6b0c72f87f5298ff56ef417fb0045e46472a3293 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 14 Jul 2007 21:33:04 +0000 Subject: - Fix Build - Makefile cleanup PR: 113627 Submitted by: pointyhat via kris/pav Thanks to: Fredrik Lindberg, linimon Reviewed by: sat --- audio/libamrnb/files/patch-prepare_sources.sh | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 audio/libamrnb/files/patch-prepare_sources.sh (limited to 'audio/libamrnb/files/patch-prepare_sources.sh') diff --git a/audio/libamrnb/files/patch-prepare_sources.sh b/audio/libamrnb/files/patch-prepare_sources.sh new file mode 100644 index 000000000000..cab31005100f --- /dev/null +++ b/audio/libamrnb/files/patch-prepare_sources.sh @@ -0,0 +1,31 @@ +--- prepare_sources.sh.orig Wed Jun 6 23:52:12 2007 ++++ prepare_sources.sh Sat Jul 14 23:35:53 2007 +@@ -1,10 +1,10 @@ +-#! /bin/bash ++#! /bin/sh + + set -o errexit +-trap "rm -rf c-code *.c *.h readme.txt *.new *.def *.all" ERR ++trap "rm -rf c-code *.c *.h readme.txt *.new *.def *.all" 0 + + if [ "$0" = prepare_sources.sh ] ; then +- cd "$(if ! which 2>/dev/null prepare_sources.sh ; then echo . fi )" ++ cd "$(if ! which 2>/dev/null prepare_sources.sh ; then echo . ; fi )" + else + cd "${0%/*}" + fi +@@ -23,7 +23,7 @@ + patch