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]
Other format: [Raw text]

Re: Death to configure.frag


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


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