All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: linux-ia64@vger.kernel.org
Subject: PATCH: Use rm -f instead of rm
Date: Wed, 06 Aug 2003 01:34:46 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106013374422175@msgid-missing> (raw)

"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

             reply	other threads:[~2003-08-06  1:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-06  1:34 H. J. Lu [this message]
2003-08-06  8:41 ` PATCH: Use rm -f instead of rm Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-106013374422175@msgid-missing \
    --to=hjl@lucon.org \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.