]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Port grouped_targets test to Solaris 10
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 27 Aug 2019 08:08:47 +0000 (01:08 -0700)
committerPaul Smith <psmith@gnu.org>
Mon, 2 Sep 2019 15:11:26 +0000 (11:11 -0400)
* tests/scripts/features/grouped_targets: Use ‘printf ''’
instead of ‘echo -n’, as POSIX says the latter is not portable.

tests/scripts/features/grouped_targets

index ef9366b75ad0eed782627adfbbb04c9c7f987c30..615e9627b2b868ca18f56f0c42fe347c9a9a0a9e 100644 (file)
@@ -9,7 +9,7 @@ $details = "Here we test for requirements like\n"
 run_make_test(q{
 .PHONY: all
 &:;
-all: ;@echo -n
+all: ;@printf ''
 },
 '', "");