changeset 1442:1039cd16dc92

Make timeout duration configurable.
author Rob Landley <rob@landley.net>
date Mon, 12 Sep 2011 10:54:25 -0500
parents 4923bba45afe
children 923dbb2a8f19
files more/buildall-native.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/more/buildall-native.sh	Sat Sep 10 08:28:32 2011 -0500
+++ b/more/buildall-native.sh	Mon Sep 12 10:54:25 2011 -0500
@@ -25,5 +25,6 @@
 more/for-each-target.sh \
   'ln -sf ../native-static build/system-image-$TARGET/upload'
 
+[ -z "$TIMEOUT" ] && export TIMEOUT=60
 more/for-each-target.sh \
-  'more/timeout.sh 60 "HDB=hdb.img more/native-build-from-build.sh $TARGET "'"$1"'" | tee build/logs/native-$TARGET.txt"'
+  'more/timeout.sh $TIMEOUT "HDB=hdb.img more/native-build-from-build.sh $TARGET "'"$1"'" | tee build/logs/native-$TARGET.txt"'