[Swift-commit] r7564 - SwiftApps/swift-galaxy/swift

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Tue Feb 4 13:41:31 CST 2014


Author: ketan
Date: 2014-02-04 13:41:30 -0600 (Tue, 04 Feb 2014)
New Revision: 7564

Modified:
   SwiftApps/swift-galaxy/swift/swiftforeach.sh
Log:
take care of remote cases

Modified: SwiftApps/swift-galaxy/swift/swiftforeach.sh
===================================================================
--- SwiftApps/swift-galaxy/swift/swiftforeach.sh	2014-02-04 19:34:41 UTC (rev 7563)
+++ SwiftApps/swift-galaxy/swift/swiftforeach.sh	2014-02-04 19:41:30 UTC (rev 7564)
@@ -63,6 +63,7 @@
 $BASEDIR/buildsite.sh $site
 
 #build config
+if [ $site -eq "localhost" ] ; then
 cat << EOF > /tmp/cf
 use.provider.staging=false
 wrapperlog.always.transfer=true
@@ -71,6 +72,16 @@
 sitedir.keep=true
 lazy.errors=false
 EOF
+else
+cat << EOF > /tmp/cf
+use.provider.staging=true
+wrapperlog.always.transfer=true
+execution.retries=0
+provider.staging.pin.swiftfiles=false
+sitedir.keep=true
+lazy.errors=false
+EOF
+fi
 
 #build tc
 cat << EOF > /tmp/tc




More information about the Swift-commit mailing list