This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add SHELL to fixinc/Makefile.in
- To: 'Laurynas Biveinis' <lauras at softhome dot net>
- Subject: Add SHELL to fixinc/Makefile.in
- From: Bruce Korb <bkorb at allegronetworks dot com>
- Date: Thu, 15 Mar 2001 12:03:17 -0800
- Cc: "GCC Patches (E-mail)" <gcc-patches at gcc dot gnu dot org>
> If SHELL is not set to /bin/sh, command.com is
> used under DOS. Which is disaster, really.
> OK for head/branch?
No. It should take whatever the superior Makefile
is using. Please add it to the list of passed
environment variables to ensure it is properly passed.
The mkfixinc.sh script passes ``SHELL="${SHELL}"'' on
the make command line. Please see the rule for making
``fixinc.sh''.
========================
This one is fine:
DOS style paths with backslashes used to get exposed to
shell without any quoting, so 'c:\djgpp\tmp' becomes 'c:djgpptmp'.
Naturally, this does not work.
OK for head/branch?
2001-03-15 Laurynas Biveinis <lauras@softhome.net>
* fixincl.c (fix_with_system): Quote file names before
passing them to shell.