contrib/gcc_update: silent mode
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sat Mar 19 02:23:00 GMT 2005
> > Zack - instead of trying to find this elusive portable shell syntax,
> > why not just set $silent to "-Q" instead of "t" and put $silent in
> > the command line without any decoration?
>
> Because it's not always "-Q". See touch_files_reexec.
> zw
So?
if test "$1" = '--silent'
silent1='-Q'
silent2='--silent'
fi
command1 $silent1 ...
command2 $silent2 ...
Unless you've found a portable shell variable flag, seems like the
above would work everywhere.
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-patches
mailing list