Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7232)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7233)
@@ -45,2 +45,15 @@
 datasetpath=/magic/datasets
 
+
+function makedir()
+{
+   if [ ! -d $@ ]
+   then
+     mkdir -pv $@ 
+     if [ ! -d $@ ]
+     then 
+        echo "could not make dir "$@
+        exit
+     fi
+   fi
+}
