src/utils/qa/weeklybld/makeUserApps.csh 1.5
1.5 2009/09/22 02:46:59 galt
fixing so old gets deleted before copying new to hgdownload
Index: src/utils/qa/weeklybld/makeUserApps.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/makeUserApps.csh,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 4 -r1.4 -r1.5
--- src/utils/qa/weeklybld/makeUserApps.csh 28 Aug 2009 23:18:46 -0000 1.4
+++ src/utils/qa/weeklybld/makeUserApps.csh 22 Sep 2009 02:46:59 -0000 1.5
@@ -52,9 +52,13 @@
cd ../..
# copy everything if 64 bit
if ("$HOST" == "hgwbeta") then
- scp -p ${DESTDIR}/${BINDIR}/* qateam@hgdownload:/mirrordata/apache/htdocs/admin/exe/$BINDIR/
+ #clear out the old and copy in the new
+ foreach f ( ${DESTDIR}/${BINDIR}/* )
+ ssh -n qateam@hgdownload "rm /mirrordata/apache/htdocs/admin/exe/$BINDIR/$f"
+ scp -p ${DESTDIR}/${BINDIR}/$f qateam@hgdownload:/mirrordata/apache/htdocs/admin/exe/$BINDIR/
+ end
endif
# copy liftOver if 32 bit
if ("$HOST" == "$BOX32") then