Skip to content

Commit 93416e9

Browse files
mscdexMylesBorins
authored andcommitted
build: fix newlines in addon build output
Interpretation of escape sequences with echo is not as consistent across platforms as printf, so use the latter instead. PR-URL: #11466 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 7f273c6 commit 93416e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ test/addons/.buildstamp: config.gypi \
169169
# Cannot use $(wildcard test/addons/*/) here, it's evaluated before
170170
# embedded addons have been generated from the documentation.
171171
@for dirname in test/addons/*/; do \
172-
echo "\nBuilding addon $$PWD/$$dirname" ; \
172+
printf "\nBuilding addon $$PWD/$$dirname\n" ; \
173173
env MAKEFLAGS="-j1" $(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp \
174174
--loglevel=$(LOGLEVEL) rebuild \
175175
--python="$(PYTHON)" \

0 commit comments

Comments
 (0)