Date: Mon, 24 Jun 2013 00:26:57 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r252134 - user/cperciva/portsnap-build Message-ID: <201306240026.r5O0QvdZ044617@svn.freebsd.org>
index | next in thread | raw e-mail
Author: cperciva Date: Mon Jun 24 00:26:56 2013 New Revision: 252134 URL: http://svnweb.freebsd.org/changeset/base/252134 Log: If we fail to get the latest svn revision # from HEAD, it probably means that EvilPete is doing his monthly upgrades and rebooting servers. Wait five minutes and try again. Modified: user/cperciva/portsnap-build/build.sh Modified: user/cperciva/portsnap-build/build.sh ============================================================================== --- user/cperciva/portsnap-build/build.sh Mon Jun 24 00:23:04 2013 (r252133) +++ user/cperciva/portsnap-build/build.sh Mon Jun 24 00:26:56 2013 (r252134) @@ -24,7 +24,11 @@ mkdir ${WORKDIR} ${SNAPDIR} ${TMPDIR} ${ SNAPDATE=`date "+%s"` # Get the latest revision # on the tree -NEWREV=`sh -e s/svn-getrev.sh head` +if ! NEWREV=`sh -e s/svn-getrev.sh head`; then + echo "Waiting 5 minutes for svn server to return" + sleep 300 + NEWREV=`sh -e s/svn-getrev.sh head` +fi # Create a memory disk for holding the snapshot files. SNAPMD=`mdconfig -a -t swap -s ${SNAPMDSIZE} -n`help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306240026.r5O0QvdZ044617>
