Index: trunk/dvodist/scripts/mkdist.3pi.pv3.20160422.sh
===================================================================
--- trunk/dvodist/scripts/mkdist.3pi.pv3.20160422.sh	(revision 39552)
+++ trunk/dvodist/scripts/mkdist.3pi.pv3.20160422.sh	(revision 39573)
@@ -16,5 +16,5 @@
 
 # top-level files
-if (1) then
+if (0) then
   mkdir -p $cattgt
   foreach file (HostTable.dat AstroMap.fits Images.dat Photcodes.dat SkyTable.fits flatcorr.fits flatfield.fits )
@@ -29,5 +29,6 @@
 
 # link all files from all hostdirs into all DEC dirs
-foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
+# foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
+foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | grep "#" | awk '{print $3}'`)
   echo $hostdir
   foreach dir ($nlist $slist)
