Changeset 5022
- Timestamp:
- 08/06/10 12:56:45 (15 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun2.sh
r5007 r5022 77 77 #}}} 78 78 79 80 79 #Lauch installation 81 80 #Checkout/update/none ISSM if requested (ISSM_INSTALLATION){{{1 … … 87 86 svn checkout $REPOSITORY 88 87 89 90 #create simpler cluster.rc file, with only the cluster we are interested in. 91 cat << END > cluster.rc 88 elif [ "$ISSM_INSTALLATION" == "update" ] 89 then 90 91 #only update ISSM 92 cd $ISSM_DIR 93 svn update 94 95 elif [ "$ISSM_INSTALLATION" == "none" ] 96 then 97 98 #do nothing 99 echo "Skipping ISSM installation" 100 101 else 102 103 #Error message 104 echo "ISSM_INSTALLATION supported values are: checkout, update and none. Exiting..." >&2 # Error message to stderr. 105 exit 1 106 107 fi 108 #}}} 109 #Create cluster.rc {{{1 110 #create simpler cluster.rc file, with only the cluster we are interested in. 111 cd $ISSM_DIR/etc 112 cat << END > cluster.rc 92 113 begin 93 114 cluster_name=$HOST_NAME … … 99 120 end 100 121 END 101 102 elif [ "$ISSM_INSTALLATION" == "update" ]103 then104 105 #only update ISSM106 cd $ISSM_DIR107 svn update108 109 elif [ "$ISSM_INSTALLATION" == "none" ]110 then111 112 #do nothing113 echo "Skipping ISSM installation"114 115 else116 117 #Error message118 echo "ISSM_INSTALLATION supported values are: checkout, update and none. Exiting..." >&2 # Error message to stderr.119 exit 1120 121 fi122 122 #}}} 123 123 #Source environment variables with new matlab path {{{1
Note:
See TracChangeset
for help on using the changeset viewer.