update some comments and remove CVS directories that have crept in

r1741 | dcl | 2007-03-30 13:32:19 +1000 (Fri, 30 Mar 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-03-30 13:32:19 +10:00
parent a96d267d57
commit a10234185d

View File

@@ -1,8 +1,8 @@
#!/bin/sh
# $Revision: 1.22 $
# $Date: 2007-03-05 07:13:49 $
# $Revision: 1.23 $
# $Date: 2007-03-30 03:32:19 $
# Author: Ferdi Franceschini (ffr@ansto.gov.au)
# Last revision by $Author: ffr $
# Last revision by $Author: dcl $
# Deploys SICServer and configuration files to
# an instrument control computer.
@@ -167,12 +167,12 @@ echo "You must list the files required for $INSTRUMENT in the manifest"
exit 1
fi
# Get list of files to copy
# Get list of files to copy and prepend directory name
COMMON=$(for f in $(cat $SRCDIR/MANIFEST.TXT); do echo -n "$SRCDIR/$f "; done)
INSTSPEC=$(for f in $(cat $INSTSRC/MANIFEST.TXT); do echo -n "$INSTSRC/$f "; done)
SCRIPT_VALIDATOR=$(for f in $(cat $INSTSRC/script_validator/MANIFEST.TXT); do echo -n "$INSTSRC/script_validator/$f "; done)
# Create Instrument Control Server directories and copy SICS ronfigs to the 'server' directory
# Create Instrument Control Server directories and copy SICS configs to the 'server' directory
mkdir -p $TEMPDIR/$DESTDIR/{batch,server,data,log,tmp}
copy_server_config server
cp -a --preserve=timestamps ../SICServer $TEMPDIR/$DESTDIR/server
@@ -189,6 +189,8 @@ echo -e "The following files were installed by $USER\n" >> $TEMPDIR/$DESTDIR/ser
cat $SRCDIR/MANIFEST.TXT $SRCDIR/$INSTSRC/MANIFEST.TXT >> $TEMPDIR/$DESTDIR/server/MANIFEST.TXT
cd $TEMPDIR
# remove any CVS directories and set modes for files and directories
rm -fr $(find $TEMPDIR/$DESTDIR -name CVS)
find $TARDIR -type f -exec chmod u-s,g-x+wr,o-wx+r {} \;
find $TARDIR -type f -perm -100 -exec chmod go+x {} \;
find $TARDIR -type d -exec chmod u+rwx,g+rwxs,o-w+rx {} \;