Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* PATCH: Use $(SHELL) when running mkinstalldirs
@ 2003-05-14  6:23 Ian Lance Taylor
  2003-05-14 12:51 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Ian Lance Taylor @ 2003-05-14  6:23 UTC (permalink / raw)
  To: gdb-patches

A GNU Makefile should always use $(SHELL) when running a shell
script.  The gdb Makefile.in fails to do this when running
mkinstalldirs in the install-only target, although it does do it in
other places.

Here is a patch.

Ian

2003-05-13  Ian Lance Taylor  <ian@airs.com>

	* Makefile.in (install-only): Use $(SHELL) when running
	mkinstalldirs.


Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.375
diff -u -r1.375 Makefile.in
--- Makefile.in	12 May 2003 00:26:18 -0000	1.375
+++ Makefile.in	14 May 2003 06:14:21 -0000
@@ -935,10 +935,10 @@
 		else \
 		  true ; \
 		fi ; \
-		$(srcdir)/../mkinstalldirs $(bindir) ; \
+		$(SHELL) $(srcdir)/../mkinstalldirs $(bindir) ; \
 		$(INSTALL_PROGRAM) gdb$(EXEEXT) \
 			$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
-		$(srcdir)/../mkinstalldirs \
+		$(SHELL) $(srcdir)/../mkinstalldirs \
 			$(DESTDIR)$(man1dir) ; \
 		$(INSTALL_DATA) $(srcdir)/gdb.1 \
 			$(DESTDIR)$(man1dir)/$$transformed_name.1


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

end of thread, other threads:[~2003-05-15 19:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14  6:23 PATCH: Use $(SHELL) when running mkinstalldirs Ian Lance Taylor
2003-05-14 12:51 ` Andrew Cagney
2003-05-14 16:13   ` Ian Lance Taylor
2003-05-15 17:12     ` Andrew Cagney
2003-05-15 19:59     ` David Carlton

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