mirror of
https://github.com/mirror/make.git
synced 2026-09-03 13:13:01 +08:00
A few test bug fixes:
* Never use "touch" in make rules; it breaks on most sub-second
supporting systems. Use echo "" > $@ instead.
* Forgot to close test makefiles before using them!
All the above worked fine on Linux but failed miserably on Solaris.
This commit is contained in:
@@ -18,7 +18,7 @@ all: foo
|
||||
|
||||
foo: bar.x
|
||||
@echo cp $< $@
|
||||
@touch $@
|
||||
@echo "" > $@
|
||||
EOF
|
||||
|
||||
close(MAKEFILE);
|
||||
|
||||
Reference in New Issue
Block a user