Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Theodore A. Roth" <troth@openavr.org>
To: gdb-patches@sources.redhat.com
Subject: [RFA] more sed fixes for Makefile.in
Date: Tue, 07 Oct 2003 22:30:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.53.0310071534180.13858@knuth.amplepower.com> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 231 bytes --]

Jim B's post got me looking at Makefile.in again.

In my previous patch,

  http://sources.redhat.com/ml/gdb-patches/2003-07/msg00249.html

I think I should have also made the changes in the attached patch.

Ok to commit?

Ted Roth

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1360 bytes --]

2003-10-07  Theodore A. Roth  <troth@openavr.org>

	* Makefile.in (uninstall): Quote sed expression when generating
        transformed_name.
	(install-gdbtk): Ditto.
	(uninstall-gdbtk): Ditto.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.450
diff -u -p -r1.450 Makefile.in
--- Makefile.in	26 Sep 2003 14:36:56 -0000	1.450
+++ Makefile.in	7 Oct 2003 22:11:26 -0000
@@ -980,7 +980,7 @@ install-only: $(CONFIG_INSTALL)
 
 uninstall: force $(CONFIG_UNINSTALL)
 	transformed_name=`t='$(program_transform_name)'; \
-			  echo gdb | sed -e $$t` ; \
+			  echo gdb | sed -e "$$t"` ; \
 		if test "x$$transformed_name" = x; then \
 		  transformed_name=gdb ; \
 		else \
@@ -2517,7 +2517,7 @@ all-gdbtk: insight$(EXEEXT)
 
 install-gdbtk:
 	transformed_name=`t='$(program_transform_name)'; \
-		  echo insight | sed -e $$t` ; \
+		  echo insight | sed -e "$$t"` ; \
 	if test "x$$transformed_name" = x; then \
 	  transformed_name=insight ; \
 	else \
@@ -2547,7 +2547,7 @@ install-gdbtk:
 
 uninstall-gdbtk:
 	transformed_name=`t='$(program_transform_name)'; \
-		  echo insight | sed -e $$t` ; \
+		  echo insight | sed -e "$$t"` ; \
 	if test "x$$transformed_name" = x; then \
 		transformed_name=insight ; \
 	else \

             reply	other threads:[~2003-10-07 22:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-07 22:30 Theodore A. Roth [this message]
2003-10-07 22:55 ` Daniel Jacobowitz
2003-10-07 23:38 ` Felix Lee
2003-10-07 23:50   ` Daniel Jacobowitz
2003-10-08  0:07     ` Felix Lee
2003-10-08  0:15       ` Theodore A. Roth

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=Pine.LNX.4.53.0310071534180.13858@knuth.amplepower.com \
    --to=troth@openavr.org \
    --cc=gdb-patches@sources.redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox