Changeset 436 for branches/stable


Ignore:
Timestamp:
Mar 11, 2006, 12:03:57 AM (13 years ago)
Author:
bcornec
Message:

Remove the old web site content after scp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/livwww

    r421 r436  
    9999        DESTDIR=$MONDODIR
    100100    fi
     101    echo "Delivering to $DESTDIR on ${DESTMACH}"
    101102fi
    102103tar cfz /tmp/mondo-www.tgz .
    103 ssh ${DESTUSER}@${DESTMACH} "rm -rf ${DESTDIR} ; mkdir ${DESTDIR}"
    104104scp /tmp/mondo-www.tgz ${DESTUSER}@${DESTMACH}:/tmp
    105105rm -f /tmp/mondo-www.tgz
    106 ssh ${DESTUSER}@${DESTMACH} "cd ${DESTDIR} ; tar xfz /tmp/mondo-www.tgz"
     106ssh ${DESTUSER}@${DESTMACH} "rm -rf ${DESTDIR} ; mkdir ${DESTDIR} ; cd ${DESTDIR} ; tar xfz /tmp/mondo-www.tgz"
Note: See TracChangeset for help on using the changeset viewer.