Changeset 8400 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/12/07 18:28:52 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8397 r8400  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2007/04/12 Daniela Dorner
     22
     23   * datacenter/scripts/sourcefile:
     24     - added if-clause to avoid removing of non existing files
     25
     26
     27
    2128 2007/04/12 Thomas Bretz
    2229
  • trunk/MagicSoft/Mars/datacenter/scripts/sourcefile

    r8380 r8400  
    133133function finish()
    134134{
    135    rm -v $todofile
    136    rm -v $lockfile
     135   if ls $todofile >/dev/null 2>&1
     136   then
     137      rm -v $todofile
     138   fi
     139   if ls $lockfile >/dev/null 2>&1
     140   then
     141      rm -v $lockfile
     142   fi
    137143   date
    138144   printprocesslog "INFO finished $0"
Note: See TracChangeset for help on using the changeset viewer.