- Timestamp:
- 2013-08-15T20:57:59+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/gen-model-colls.sh
r28069 r28070 180 180 181 181 if [ ! -e model-collect/$collection ]; then 182 echo "del_col_archives_index: $collection does not exist in model-collect , will svn add this new collection shortly"182 echo "del_col_archives_index: $collection does not exist in model-collect" 183 183 return; 184 184 fi … … 204 204 205 205 if [ ! -e model-collect/$collection ]; then 206 echo "add_col_archives_index: Adding the new collection $collection to SVN"206 echo "add_col_archives_index: $collection does not exist in model-collect" 207 207 return; 208 208 fi … … 228 228 229 229 if [ ! -e model-collect/$collection ]; then 230 echo " update_single_collection: Adding new collection $collection to SVN"230 echo "svn_process_single_collection: $collection does not exist in model-collect" 231 231 return; 232 232 fi … … 276 276 # Function that takes care of the --svnupdate flag mode of this script for a single collection 277 277 function update_single_collection () { 278 collection=$1 279 280 #escape the filename (in case of space) and get just the basename 281 collection=$(get_col_basename $collection) 282 283 if [ ! -e model-collect/$collection ]; then 284 echo "update_single_collection: $collection does not exist in model-collect" 285 return; 286 fi 278 287 279 288 # copy across the contents of the rebuilt model-collection's index and archives to the svn model-collect … … 395 404 #exit 396 405 406 397 407 # If no mode provided (svndelete|svnupdate) as cmd line arg, then don't modify 398 408 # the svn model-collect folder. Then this script stops after rebuilding the model-copy in collect
Note:
See TracChangeset
for help on using the changeset viewer.