From ffd16a71d3c5addd5fceb42bc9f4159a43073661 Mon Sep 17 00:00:00 2001 From: Jiawen Geng Date: Sat, 7 May 2022 02:09:15 +0000 Subject: [PATCH] fix: format --- pylib/gyp/generator/make.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pylib/gyp/generator/make.py b/pylib/gyp/generator/make.py index b59ce60d..e225326e 100644 --- a/pylib/gyp/generator/make.py +++ b/pylib/gyp/generator/make.py @@ -158,12 +158,12 @@ def CalculateGeneratorInputInfo(params): # Note: this does not handle spaces in paths define xargs - $(1) $(word 1,$(2)) + $(1) $(word 1,$(2)) $(if $(word 2,$(2)),$(call xargs,$(1),$(wordlist 2,$(words $(2)),$(2)))) endef define write-to-file - @: >$(1) + @: >$(1) $(call xargs,@printf "%s\\n" >>$(1),$(2)) endef @@ -227,12 +227,12 @@ def CalculateGeneratorInputInfo(params): # Note: this does not handle spaces in paths define xargs - $(1) $(word 1,$(2)) + $(1) $(word 1,$(2)) $(if $(word 2,$(2)),$(call xargs,$(1),$(wordlist 2,$(words $(2)),$(2)))) endef define write-to-file - @: >$(1) + @: >$(1) $(call xargs,@printf "%s\\n" >>$(1),$(2)) endef