diff --git a/attachment/scripts/ohos_setup.py b/attachment/scripts/ohos_setup.py index 99ca997854a2c3cffe069bae9aaec0a6144aee8d..6ff00f68c446c00f3adc3dd13169a2f0b83b6a1e 100644 --- a/attachment/scripts/ohos_setup.py +++ b/attachment/scripts/ohos_setup.py @@ -32,7 +32,7 @@ REPOS_ROOT = ROOT + '/repos' def apply_patch(task): file_path = task['file_path'] target_path = task['target'] - excute_util.excuteArr(['git', 'apply', file_path], target_path) + excute_util.excuteArr(['git', 'apply', '--whitespace=nowarn', file_path], target_path) pass