[gccgo] Library merge script
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Tue Dec 8 08:39:00 GMT 2009
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
More information about the Gcc-patches
mailing list