diff mbox

Fix gcc_release to not build GO tarballs on old branches

Message ID alpine.LNX.2.00.1104211334510.810@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener April 21, 2011, 11:36 a.m. UTC
This changes maybe_build_tarfile to require that the first directory
in the list actually exists.  This avoids building a GO tarball on
old branches where neither gcc/go nor libgo exist but libffi does.

I have built the 4.5.3 release candidate with this patch applied.

Looks ok?

Thanks,
Richard.

2011-04-21  Richard Guenther  <rguenther@suse.de>

	* gcc_release (maybe_build_tarfile): Require existance of the
	first directory.
diff mbox

Patch

Index: maintainer-scripts/gcc_release
===================================================================
--- maintainer-scripts/gcc_release	(revision 172819)
+++ maintainer-scripts/gcc_release	(working copy)
@@ -258,6 +258,7 @@  maybe_build_tarfile() {
     if [ -d "$maybe_dir" ]; then
       dir_exists=1
     fi
+    break;
   done
   if [ $dir_exists = 1 ]; then
     build_tarfile "$dest" "$@"