mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 11:30:37 -09:00
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
6d985f97c8
commit
ec02a34b0a
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user