Changeset 28816 for other-projects
- Timestamp:
- 2014-01-31T16:24:28+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/gen-model-colls.sh
r28660 r28816 146 146 147 147 # need slash on end of src dir collect/$collection/ ! 148 rsync -r --exclude=.svn/ --exclude=log/ --exclude=cached/ --exclude=cache/ --exclude=earliestDatestamp --exclude=fail.log --exclude=collectionConfig.bak collect/$collection/ model-collect/$collection148 rsync -r --exclude=.svn/ --exclude=log/ --exclude=cached/ --exclude=cache/ --exclude=earliestDatestamp --exclude=fail.log --exclude=collectionConfig.bak collect/$collection/ model-collect/$collection 149 149 150 150 # find collect/$collection -name ".svn" -type d -exec rm -rf {} \; … … 196 196 197 197 198 # make a space-separated list of all the collections 199 # to keep track of which ones should be committed from the model-collect folder 200 concatlist= 201 198 202 if [ "x$1" == "x" ]; then 199 203 for collection in collect/*; do 200 204 _del_col_archives_index $collection 205 concatlist="$concatlist model-$collection" 201 206 done 202 207 else 203 208 for collection in "$@"; do 204 209 _del_col_archives_index $collection 210 concatlist="$concatlist model-collect/$collection" 205 211 done 206 212 fi … … 215 221 # Numerical comparisons: http://tldp.org/LDP/abs/html/comparison-ops.html 216 222 if [ "$debug_mode" -eq "0" ]; then 217 svn commit -m "AUTOCOMMIT by gen-model-colls.sh script. Message: $commit_message" model-collect223 svn commit -m "AUTOCOMMIT by gen-model-colls.sh script. Message: $commit_message" $concatlist 218 224 fi 219 225 … … 241 247 242 248 if [ "$debug_mode" -eq "0" ]; then 243 svn commit -m "AUTOCOMMIT by gen-model-colls.sh script. Message: $commit_message" model-collect249 svn commit -m "AUTOCOMMIT by gen-model-colls.sh script. Message: $commit_message" $concatlist 244 250 fi 245 251
Note:
See TracChangeset
for help on using the changeset viewer.