From 12f21b57881827b80a443d9d07ad66793b987fa4 Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 31 Jan 2003 08:38:58 +0000 Subject: [PATCH] small fixes and cleanup --- bin/remote_update.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bin/remote_update.sh b/bin/remote_update.sh index 3118191..44b6e29 100755 --- a/bin/remote_update.sh +++ b/bin/remote_update.sh @@ -15,20 +15,24 @@ usage() { deploy() { # cleanup - rm -rf $tmp* 2> /dev/null + rm -rf $tmp 2> /dev/null mkdir $tmp # export owl cd $tmp - #cvs -d $cvsroot co -r $tag owl - cvs -d $cvsroot co owl + cvs -d $cvsroot co -r $tag owl cd owl/Documents cvs update -d + # remove CVS directories find $tmp -name CVS -exec rm -rf {} \; 2> /dev/null # tar it up tar -czvf /tmp/owl.tgz $tmp + + # clean up + rm -rf $tmp 2> /dev/null + # punt it over the wall scp /tmp/owl.tgz $host:/tmp/ -- libgit2 0.21.4