Fix shell scripting.

PR bootstrap/60719
	* Makefile.in (install-driver): Fix shell scripting.

From-SVN: r209072
This commit is contained in:
Thomas Schwinge 2014-04-04 10:09:23 +02:00 committed by Thomas Schwinge
parent d4a69ff4cc
commit bb609c35be
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-04-04 Thomas Schwinge <thomas@codesourcery.com>
PR bootstrap/60719
* Makefile.in (install-driver): Fix shell scripting.
2014-04-03 Cong Hou <congh@google.com>
PR tree-optimization/60505

View File

@ -3206,9 +3206,9 @@ install-driver: installdirs xgcc$(exeext)
-rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
-if [ "$(GCC_INSTALL_NAME)" != "$(target_noncanonical)-gcc-$(version)" ]; then \
-rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext) \
-( cd $(DESTDIR)$(bindir) && \
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) ) \
rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext); \
( cd $(DESTDIR)$(bindir) && \
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) ); \
fi
-if [ ! -f gcc-cross$(exeext) ] \
&& [ "$(GCC_INSTALL_NAME)" != "$(GCC_TARGET_INSTALL_NAME)" ]; then \