Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed May 11, 2022
1 parent 486d457 commit ffd16a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pylib/gyp/generator/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ffd16a7

Please sign in to comment.