Changeset 7525


Ignore:
Timestamp:
02/24/06 14:33:01 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7524 r7525  
    2626     - reduced width of menu
    2727
     28   * datacenter/scripts/copyscript:
     29     - added makedir for oldcatalogpath
     30
    2831
    2932
  • trunk/MagicSoft/Mars/datacenter/scripts/copyscript

    r7518 r7525  
    253253      #getting date of new catalogfile from path
    254254      date=`echo $catfile | cut -d/ -f5-7 | sed -e 's/\///g'`
    255      
     255
     256      oldcatalogpath=$setuppath/oldcatalogs
     257      makedir $oldcatalogpath
    256258      #rsync current catalogfile to directory with old catalogfiles including the date of the new catalogfile into the filename
    257       if ! rsync -av $catalog $setuppath/oldcatalogs/$magfav.$date >> $scriptlog 2>&1
     259      if ! rsync -av $catalog $oldcatalogpath/$magfav.$date >> $scriptlog 2>&1
    258260      then
    259261         echo "could not do 'rsync -av $catalog $setuppath/oldcatalogs/$magfav.$date' -> exit" >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.