This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Death to configure.frag
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Zack Weinberg" <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 29 Aug 2003 20:03:13 -0300
- Subject: Re: Death to configure.frag
- Organization: GCC Team, Red Hat
- References: <87d6ep5dxx.fsf@codesourcery.com>
On Aug 29, 2003, "Zack Weinberg" <zack@codesourcery.com> wrote:
> +for d in .. $subdirs
> +do
> + if test $d != ..; then
> + test -d $d || mkdir $d
> + fi
> +done
Before you check this in, please remove this `..' gunk. It's entirely
unnecessary in shell-script code. It's useful in Makefile rules,
where subdirs is a make macro that might expand to nothing, to avoid
shell syntax errors, but when the variable is expanded by the shell
itself, it's perfectly legitimate for it to expand to nothing.
Thanks for doing this.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer