]> git.lizzy.rs Git - rust.git/commitdiff
Fix an sh error
authorKristofer Rye <kristofer.rye@gmail.com>
Tue, 28 May 2019 00:40:11 +0000 (19:40 -0500)
committerKristofer Rye <kristofer.rye@gmail.com>
Tue, 28 May 2019 00:40:11 +0000 (19:40 -0500)
Didn't think it was this particular about things, but I also should
have tested locally.

It makes sense, though---`\` followed by LF would eat it, so we'd have
`sysroot done` instead of `sysroot; done` as it is parsed.  This should
pass now.

Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
Tested-by: Kristofer Rye <kristofer.rye@gmail.com>
src/test/run-make-fulldeps/print-target-list/Makefile

index b66b5d0422d13c01f0dce6680ef21e6010080823..5f10f2aa3b0f419836efb67d7a4f23bbdc5c5def 100644 (file)
@@ -4,5 +4,5 @@
 # target specifications
 all:
        for target in $(shell $(BARE_RUSTC) --print target-list); do \
-               $(BARE_RUSTC) --target $$target --print sysroot \
+               $(BARE_RUSTC) --target $$target --print sysroot; \
        done