This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gccgo] Library merge script
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Dec 2009 09:18:22 +0100
- Subject: Re: [gccgo] Library merge script
- References: <mcrskbmq6wk.fsf@dhcp-172-17-9-151.mtv.corp.google.com>
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