* PATCH: Use rm -f instead of rm
@ 2003-08-06 1:34 H. J. Lu
2003-08-06 8:41 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: H. J. Lu @ 2003-08-06 1:34 UTC (permalink / raw)
To: linux-ia64
"rm" may be aliased to "rm -i".
# make
may prompt for user response. It kills "nohup make".
H.J.
--- linux/arch/ia64/Makefile.ia64 Tue Aug 5 17:21:30 2003
+++ linux/arch/ia64/Makefile Tue Aug 5 18:30:27 2003
@@ -28,7 +28,7 @@ CHECK_GAS_FOR_HINT=arch/ia64/scripts/che
MAKE_GAS_HINT_TEST=arch/ia64/scripts/make_gas_hint_test
ifneq (, $(shell ls $(CHECK_GAS_FOR_HINT)))
-$(shell rm $(CHECK_GAS_FOR_HINT))
+$(shell rm -f $(CHECK_GAS_FOR_HINT))
endif
CHECK_GAS_CMD:=($(CC) $(MAKE_GAS_HINT_TEST).c -o $(MAKE_GAS_HINT_TEST) |$(AS) -o $(CHECK_GAS_FOR_HINT) -;rm $(MAKE_GAS_HINT_TEST))>&/dev/null
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: Use rm -f instead of rm
2003-08-06 1:34 PATCH: Use rm -f instead of rm H. J. Lu
@ 2003-08-06 8:41 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2003-08-06 8:41 UTC (permalink / raw)
To: linux-ia64
"H. J. Lu" <hjl@lucon.org> writes:
|> "rm" may be aliased to "rm -i".
A non-interactive shell has no business of expanding aliases.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-06 8:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-06 1:34 PATCH: Use rm -f instead of rm H. J. Lu
2003-08-06 8:41 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox