Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8399)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8400)
@@ -19,4 +19,11 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2007/04/12 Daniela Dorner
+
+   * datacenter/scripts/sourcefile:
+     - added if-clause to avoid removing of non existing files
+
+
+
  2007/04/12 Thomas Bretz
 
Index: /trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- /trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 8399)
+++ /trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 8400)
@@ -133,6 +133,12 @@
 function finish()
 {
-   rm -v $todofile
-   rm -v $lockfile
+   if ls $todofile >/dev/null 2>&1
+   then 
+      rm -v $todofile
+   fi
+   if ls $lockfile >/dev/null 2>&1
+   then 
+      rm -v $lockfile
+   fi
    date
    printprocesslog "INFO finished $0"
