From 5bedffc9c344711a12d418457e579a0b77f4d308 Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Fri, 26 Sep 2014 14:06:04 +1000 Subject: [PATCH] Strip the date and time from server_date_time in FILEMAP.TXT --- site_ansto/instrument/deploySICS.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site_ansto/instrument/deploySICS.sh b/site_ansto/instrument/deploySICS.sh index e2fffe72..d5ab79a6 100755 --- a/site_ansto/instrument/deploySICS.sh +++ b/site_ansto/instrument/deploySICS.sh @@ -247,6 +247,10 @@ cat PATCH.TXT > $TEMPDIR/$DESTDIR/${NEWSERVER}/PATCH.TXT fi cat $SRCDIR/MANIFEST.TXT $SRCDIR/$INSTSRC/MANIFEST.TXT > $TEMPDIR/$DESTDIR/${NEWSERVER}/MANIFEST.TXT +# Strip the date and time from FILEMAP +echo sed -i $FILEMAP -e s/${NEWSERVER}/server/ +sed -i $FILEMAP -e s/${NEWSERVER}/server/ + cd $TEMPDIR # remove any .svn directories rm -rf $(find $TARDIR -type d -name .svn)