[Swift-commit] r4564 - trunk/bin

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Sat Jun 4 16:37:18 CDT 2011


Author: jonmon
Date: 2011-06-04 16:37:18 -0500 (Sat, 04 Jun 2011)
New Revision: 4564

Modified:
   trunk/bin/gensites
Log:
Added internalhostname variable for gensites


Modified: trunk/bin/gensites
===================================================================
--- trunk/bin/gensites	2011-06-03 20:38:29 UTC (rev 4563)
+++ trunk/bin/gensites	2011-06-04 21:37:18 UTC (rev 4564)
@@ -175,6 +175,9 @@
       "#site $TEMPLATE execution_url="*|'#site slots='*)
         EXECUTION_URL=`get_value $line`
         ;;
+      "#site $TEMPLATE internalhostname="*|'#site internalhostname='*)
+         INTERNALHOSTNAME=`get_value $line`
+         ;;
    esac
 done < $PROPERTIES_FILE
 
@@ -182,7 +185,7 @@
 [[ ${WORK}   == "" ]] && crash "Not specified: WORK"
 
 # Verify that the variables by the template are defined
-for TOKEN in PROJECT QUEUE N_GRAN N_MAX SLOTS
+for TOKEN in PROJECT QUEUE N_GRAN N_MAX SLOTS INTERNALHOSTNAME
 do
    # Need but can't find, due
    if grep _${TOKEN}_ $TEMPLATE_PATH > /dev/null; then
@@ -203,6 +206,7 @@
   echo "s/_N_GRAN_/${N_GRAN}/"
   echo "s/_N_MAX_/${N_MAX}/"
   echo "s/_SLOTS_/${SLOTS}/"
+  echo "s/_INTERNALHOSTNAME_/${INTERNALHOSTNAME}/"
   echo "s/_MAXTIME_/${MAXTIME}/"
   echo "s at _EXECUTION_URL_@${EXECUTION_URL}@"
   echo "s at _SERVICE_COASTERS_@${SERVICE_COASTERS:-NO_URL_GIVEN}@"




More information about the Swift-commit mailing list