Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] more sed fixes for Makefile.in
@ 2003-10-07 22:30 Theodore A. Roth
  2003-10-07 22:55 ` Daniel Jacobowitz
  2003-10-07 23:38 ` Felix Lee
  0 siblings, 2 replies; 6+ messages in thread
From: Theodore A. Roth @ 2003-10-07 22:30 UTC (permalink / raw)
  To: gdb-patches

[-- 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 \

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-10-08  0:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07 22:30 [RFA] more sed fixes for Makefile.in Theodore A. Roth
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox