Skip to content

Commit f66a686

Browse files
committed
Use a more portable way to add a carriage return
Looks like echo -e does not work properly with MacOs's sh
1 parent bb539af commit f66a686

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
@@ -17,7 +17,7 @@ test-fix: vendor
1717

1818
update-compatibility-patch:
1919
@git apply tests/php-compatibility.patch
20-
@echo -e "Please open your editor and apply your changes\n"
20+
@printf "Please open your editor and apply your changes\n"
2121
@until [ "$${compatibility_resolved}" == "y" ]; do read -p "Have finished your changes (y|n)? " compatibility_resolved; done && compatibility_resolved=
2222
@git diff -- tests/expected_report.txt tests/fixed > .tmp-patch && mv .tmp-patch tests/php-compatibility.patch && git apply -R tests/php-compatibility.patch
2323
@git commit -m 'Update compatibility patch' tests/php-compatibility.patch

0 commit comments

Comments
 (0)