Commit e9fa9dde9394e3bce581f2267c34031f92b09578

Authored by Michael Joseph
1 parent 772f4d40

small fixes and cleanup


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@710 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 7 additions and 3 deletions
bin/remote_update.sh
... ... @@ -15,20 +15,24 @@ usage() {
15 15  
16 16 deploy() {
17 17 # cleanup
18   - rm -rf $tmp* 2> /dev/null
  18 + rm -rf $tmp 2> /dev/null
19 19 mkdir $tmp
20 20  
21 21 # export owl
22 22 cd $tmp
23   - #cvs -d $cvsroot co -r $tag owl
24   - cvs -d $cvsroot co owl
  23 + cvs -d $cvsroot co -r $tag owl
25 24 cd owl/Documents
26 25 cvs update -d
  26 +
27 27 # remove CVS directories
28 28 find $tmp -name CVS -exec rm -rf {} \; 2> /dev/null
29 29  
30 30 # tar it up
31 31 tar -czvf /tmp/owl.tgz $tmp
  32 +
  33 + # clean up
  34 + rm -rf $tmp 2> /dev/null
  35 +
32 36 # punt it over the wall
33 37 scp /tmp/owl.tgz $host:/tmp/
34 38  
... ...