From ec02a34b0aaa06b61e26ec284370dea9896805f1 Mon Sep 17 00:00:00 2001 From: Danomi Mocelopolis Date: Sat, 26 Nov 2011 21:56:25 +0100 Subject: Prevent patch commands from accessing source control Closes #4357 Add -g0 option to patch to ensure it doesn't try to access source control. Signed-off-by: Peter Korsgaard --- support/scripts/apply-patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') diff --git a/support/scripts/apply-patches.sh b/support/scripts/apply-patches.sh index 76cb9f753..1aef47ebf 100755 --- a/support/scripts/apply-patches.sh +++ b/support/scripts/apply-patches.sh @@ -21,7 +21,7 @@ if [ ! -d "${patchdir}" ] ; then fi for i in `cd ${patchdir}; ls -d ${patchpattern} 2> /dev/null` ; do - apply="patch -p1 -E -d" + apply="patch -g0 -p1 -E -d" uncomp_parm="" if [ -d "${patchdir}/$i" ] ; then type="directory overlay" -- cgit v1.2.3