Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 7993)
+++ trunk/MagicSoft/Mars/Changelog	(revision 7994)
@@ -31,4 +31,8 @@
      datacenter/scripts/runcallisto, datacenter/scripts/runganymed:
      - improved processlog
+
+   * datacenter/scripts/sourcefile:
+     - improved processlog
+     - exchange function finish by code in fuction makedir
 
    * datacenter/scripts/setup, datacenter/scripts/linkmc, 
Index: trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7993)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 7994)
@@ -185,5 +185,6 @@
            esac
         done
-	  ;;
+	printprocesslog "INFO finished merppupdate successfully for sequence $sequence"
+        ;;
    *)   echo " check1=$check1 -> ERROR -> step has to be repeated" >> $scriptlog 2>&1
         printprocesslog "ERROR $program failed for sequence $sequence (return code $check1)"
Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7993)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7994)
@@ -51,5 +51,8 @@
      then 
         echo "could not make dir "$@
-        finish
+        rm -v $todofile
+        rm -v $lockfile
+        date
+        exit
      fi
    fi
@@ -129,5 +132,5 @@
    rm -v $lockfile
    date
-   printprocesslog "INFO finished $program"
+   printprocesslog "INFO finished $0"
    exit
 }
