Ignore:
Timestamp:
08/08/06 09:56:47 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/copyscript

    r7835 r7861  
    209209diff=$setuppath/.diff #file to store difference
    210210#addresses to which the changes are sent
    211 adrs="dorner@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de, hoehne@astro.uni-wuerzburg.de"
     211adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
    212212
    213213#getting new catalogfiles
    214 catfiles=`find $subsystempath/cc/ -name $magfav -cnewer $catalog | sort`
     214catfiles=`find $subsystempath/cc/ -name $magfav -newer $catalog | sort`
    215215
    216216for catfile in ${catfiles[@]}
    217217do
    218218   #write information into .diff
    219    echo "file: "$catfile >| $diff
    220    diff $catalog $catfile >> $diff
     219   echo "diff $catfile $catalog" >| $diff
     220   diff $catfile $catalog >> $diff
    221221   #getting differences
    222222   ins=`cat $diff| grep '>'` #what has been inserted
Note: See TracChangeset for help on using the changeset viewer.