Deploy all environment drivers to all instruments.

This commit is contained in:
Ferdi Franceschini
2014-05-09 09:34:38 +10:00
parent d1bfcf3b6a
commit 0ae4d40470
13 changed files with 20 additions and 72 deletions

View File

@@ -55,8 +55,14 @@ copy_server_config() {
sicserver_path=$1
cp -v -a --preserve=timestamps $COMMON $INSTSPEC $TEMPDIR/$DESTDIR/$sicserver_path >>$FILEMAP
if [ -e $INSTCFDIR/INSTCFCOMMON.TXT ]; then
for f in $(cat $INSTCFDIR/INSTCFCOMMON.TXT); do
cp -v --parents --preserve=timestamps $f $TEMPDIR/$DESTDIR/$sicserver_path >>$FILEMAP
for fpath in $(cat $INSTCFDIR/INSTCFCOMMON.TXT); do
if [ -f $fpath ]; then
cp -v --parents --preserve=timestamps $fpath $TEMPDIR/$DESTDIR/$sicserver_path >>$FILEMAP
else
for fn in `find $fpath -name '*.tcl'`; do
cp -v --parents --preserve=timestamps $fn $TEMPDIR/$DESTDIR/$sicserver_path >>$FILEMAP
done
fi
done
fi
}