This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Add SHELL to fixinc/Makefile.in



> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]