Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 9591)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 9592)
@@ -238,7 +238,7 @@
 {
    getdbsetup
-   needs=`grep "$step[.]Needs:" $steps | sed -e "s/$step[.]Needs://"`
-   noderestricted=`grep "$step[.]NodeRestricted:" $steps | sed -e "s/$step[.]NodeRestricted://" -e 's/ //g'`
-   prims=( `grep "$step[.]Primaries:" $steps | sed -e "s/$step[.]Primaries://"` )
+   needs=`grep "$step[.]Needs:" $steps | grep -v '#' | sed -e "s/$step[.]Needs://"`
+   noderestricted=`grep "$step[.]NodeRestricted:" $steps | grep -v '#' | sed -e "s/$step[.]NodeRestricted://" -e 's/ //g'`
+   prims=( `grep "$step[.]Primaries:" $steps | grep -v '#' | sed -e "s/$step[.]Primaries://"` )
 #   echo " needs: $needs"
 #   echo " noderestricted: $noderestricted"
@@ -250,5 +250,5 @@
 {
    getdbsetup
-   grep $@"[.]Primaries:" $steps | sed -e "s/$@[.]Primaries://"
+   grep $@"[.]Primaries:" $steps | grep -v '#' | sed -e "s/$@[.]Primaries://"
 }
 
@@ -259,5 +259,5 @@
 {
    getdbsetup
-   grep $@"[.]Join:" $steps | sed -e "s/$@[.]Join://"
+   grep $@"[.]Join:" $steps | grep -v '#' | sed -e "s/$@[.]Join://"
 }
 
@@ -268,5 +268,5 @@
 {
    getdbsetup
-   grep $@"[.]SpecialJoin:" $steps | sed -e "s/$@[.]SpecialJoin://"
+   grep $@"[.]SpecialJoin:" $steps | grep -v '#' | sed -e "s/$@[.]SpecialJoin://"
 }
 
