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]

Re: [RFA] Use mkinstalldirs not mkdir in mklibgcc


DJ Delorie wrote:

> > ! echo '        if [ -d $$d ]; then true; else '$mkinstalldirs' $$d; fi \'
> 
> Put double quotes around $mkinstalldirs (like $dirs above it) and it's
> approved.

Hmmm, not a good idea:

for d in libgcc; do \
  if [ -d $d ]; then true; else "/bin/sh ../../gcc/gcc/mkinstalldirs"
$d; fi \
done
/bin/sh: /bin/sh ../../gcc/gcc/mkinstalldirs: No such file or directory

"To quote or not to quote - that's the question"

[ Sorry, couldn't resist ]

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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