[Mono-bugs] [Bug 548987] Wait for work if there is no work to do (optional)?

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 2 13:04:16 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=548987

User ajorgensen at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548987#c2





--- Comment #2 from Andrew Jorgensen <ajorgensen at novell.com>  2009-11-02 11:04:16 MST ---
Okay here's the workaround in my build script (30 seconds instead of a minute):

#!/bin/bash

sudo /usr/sbin/sntp -P no -r time.novell.com
curl --silent --location
"http://build.mono-project.com/DownloadLatestFile.aspx?lane=monkeywrench&filename=MonkeyWrench.zip"
| zcat > MonkeyWrench.zip
unzip -o -q MonkeyWrench.zip
START=$(date +%s)
END=$START
while [ "$END" -lt "$(expr $START + 30)" ]; do
        START=$(date +%s)
        mono MonkeyWrench.Builder.exe
        END=$(date +%s)
done

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list