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: [gccgo] Library merge script


Hello Ian,

* Ian Lance Taylor wrote on Tue, Dec 08, 2009 at 08:08:59AM CET:
> --- merge.sh	(revision 0)
> +++ merge.sh	(revision 0)
> @@ -0,0 +1,126 @@
> +#!/bin/sh

> +(cd ${NEWDIR}/src/pkg && find . -name '*.go' -print) | while read f; do
> +  if test `dirname $f` == "./syscall"; then

FWIW, 'test ... == ...' is a bashism, so it would be better to use '='
or /bin/bash.

Cheers,
Ralf


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