LCDetectors/detectors
diff -N makeZips.sh
--- makeZips.sh 29 Jul 2005 05:06:00 -0000 1.8
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-#
-# Simple script to bundle a detector dir
-# as a zip file containing detector.properties
-# and compact.xml detector description.
-#
-
-> taglist.txt
-
-for d in `find . -type d -maxdepth 1`; do
-
- # directory must have compact file
- if [ -e "${d}/compact.xml" ]; then
- (
- if [ -e "${d}.zip" ]; then rm -v ${d}.zip; fi
- cd $d
- dd=`basename $d`
- echo "name: $dd" > detector.properties
- for f in `find . -print | grep -v CVS`; do
- echo "adding $f"
- zip ${dd} ${f}
- done
- zip -d ${dd} CVS/\* CVS */CVS
- echo "$dd" >> ../taglist.txt
- )
- fi
-done
-
-ls -w 1 */*.zip &> ziplist
-
-echo "Made zips..."
-
-cat ziplist
-
-cp */*.zip .