summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorDanomi Mocelopolis <d_mo1234@yahoo.com>2011-11-26 21:56:25 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-11-26 21:56:25 +0100
commitec02a34b0aaa06b61e26ec284370dea9896805f1 (patch)
treeaccb5447cac95617890abe2c1cd8268941ceae77 /support
parent6d985f97c87a963674c6d9230b5fc6fe9982ff87 (diff)
downloadbuildroot-novena-ec02a34b0aaa06b61e26ec284370dea9896805f1.tar.gz
buildroot-novena-ec02a34b0aaa06b61e26ec284370dea9896805f1.zip
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 <jacmet@sunsite.dk>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/apply-patches.sh2
1 files changed, 1 insertions, 1 deletions
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"