Commit in LCDetectors/detectors on MAIN
lcdd.sh+24added 1.1
convertAll.sh+2-51.1 -> 1.2
makeZips.sh+1-21.7 -> 1.8
+27-7
1 added + 2 modified, total 3 files
Revised conversion and zip scripts.

LCDetectors/detectors
lcdd.sh added at 1.1
diff -N lcdd.sh
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ lcdd.sh	29 Jul 2005 05:06:00 -0000	1.1
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+#
+# Script to convert all detectors from compact to LCDD.
+#
+# Make sure you have Java 1.5.0 setup before running this.
+#
+
+# What is your geom cnv dir?
+mygeom="${PRJ_DIST}/GeomConverter/current/bin/GeomConverter"
+
+# Conversion script location with arg.
+cnvscript="${mygeom} -o lcdd"
+
+# Convert to LCDD.
+for f in `ls */compact.xml`; do
+  d=`dirname $f`
+  echo "Converting $d ..."
+  $cnvscript $f $d.lcdd
+  echo "DONE with $d."
+  mv $d.lcdd $d
+done
+
+ls */*.lcdd

LCDetectors/detectors
convertAll.sh 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- convertAll.sh	20 Jul 2005 01:11:28 -0000	1.1
+++ convertAll.sh	29 Jul 2005 05:06:00 -0000	1.2
@@ -1,6 +1,3 @@
 #!/bin/sh
-for f in `ls */compact.xml`; do
-  d=`dirname $f`
-  echo "converting $d"
-  compact2lcdd $f $d.lcdd
-done
+
+./lcdd.sh

LCDetectors/detectors
makeZips.sh 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- makeZips.sh	14 Jul 2005 18:32:12 -0000	1.7
+++ makeZips.sh	29 Jul 2005 05:06:00 -0000	1.8
@@ -6,7 +6,6 @@
 # and compact.xml detector description.
 #
 
-> list.txt
 > taglist.txt
 
 for d in `find . -type d -maxdepth 1`; do
@@ -18,7 +17,7 @@
       cd $d
       dd=`basename $d`
       echo "name: $dd" > detector.properties
-      for f in `ls * */* | grep -v CVS`; do
+      for f in `find . -print | grep -v CVS`; do
         echo "adding $f"
         zip ${dd} ${f}
       done 
CVSspam 0.2.8