- Timestamp:
- 2020-03-12T18:05:24+01:00 (4 years ago)
- Location:
- utils/CI/sette_ticket2304
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/CI/sette_ticket2304/README.rst
r11161 r12541 81 81 The list of available configurations is available in running ./sette_list_avail_cfg.sh. 82 82 - user need to set up the param.cfg file correctly and download input file before running the script. 83 - user can enforce synchronisation (-s option) of the existing CFG_ST with the REF configuration (EXPREF and MY_SRC). 84 - user can enforce cleaning of the CFG_ST configuration (use of makenemo -n CFG_ST clean) (-c option) 83 85 * ``sette_rpt.sh`` : it generates the sette report. 84 86 - if no argument is given, the report will be generated on the last changed revision. -
utils/CI/sette_ticket2304/all_functions.sh
r12508 r12541 95 95 if [ ${SYNC_CONFIGS} == "yes" ]; then 96 96 97 lREF=$3/$1 # reference 98 lCFG=$3/$2 # target 99 97 100 echo '-------------------------------------------------------------------------------' 98 101 echo ' SOURCE AND CONFIG FILES SYNCHRONISATION ' 99 102 echo '' 100 echo "configuration $3/$2 will be synchronised with $3/$1" 101 echo '' 102 103 lREF=$3/$1 # reference 104 lCFG=$3/$2 # target 105 103 echo "configuration $lCFG/MY_SRC will be synchronised with $lREF/MY_SRC" 104 echo '' 106 105 # synchronise MY_SRC if $lCFG directory exist 107 106 if [ -d $lREF/MY_SRC ] && [ -d $lCFG ] ; then … … 126 125 127 126 # synchronisation $lREF/MY_SRC directory (and delete file in target location if needed) 128 rsync -a v--delete $lREF/MY_SRC/ $lCFG/MY_SRC127 rsync -a --delete $lREF/MY_SRC/ $lCFG/MY_SRC 129 128 130 129 # rsync keep preserve the modification time stamp. … … 133 132 fi 134 133 134 echo '' 135 echo "configuration $lCFG/EXP00 will be synchronised with $lREF/EXPREF" 136 echo "(links are skipped)" 137 echo '' 135 138 # synchronize EXPREF 136 139 if [ -d $lREF/EXPREF ] && [ -d $lCFG/EXP00 ] ; then 137 rsync -a q--no-links $lREF/EXPREF/ $lCFG/EXP00/.140 rsync -a --no-links $lREF/EXPREF/ $lCFG/EXP00/. 138 141 fi 139 142 echo '-------------------------------------------------------------------------------'
Note: See TracChangeset
for help on using the changeset viewer.