Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 8302)
+++ trunk/MagicSoft/Mars/Changelog	(revision 8303)
@@ -19,4 +19,12 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2007/02/04 Daniela Dorner
+
+   * datacenter/scripts/sourcefile:
+     - added if-clause to avoid that a script is aborted in case a macro
+       doesn't compile, return code is set to 1 in this case
+
+
+
  2007/02/04 Thomas Bretz
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 8302)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 8303)
@@ -224,5 +224,10 @@
                   *)  echo "setstatus stop - failed"
                       starttime=noreset
-                      returncode=$check
+                      if [ "$check" == "" ]
+                      then
+                         returncode=1
+                      else
+                         returncode=$check
+                      fi
                       failedcode=$com
                       if ! [ "$comadd" = "" ]
