source: tags/0.1/gogodist.sh @ 696

Last change on this file since 696 was 1, checked in by xinha, 15 years ago

Bootstrap

File size: 525 bytes
Line 
1#!/bin/sh
2OWD=`pwd`
3echo "CD /tmp"
4cd /tmp
5pwd
6echo "RM htmlarea"
7rm -rf htmlarea*
8
9cp -aL ~/gogo-jobs/dev/php-2.0/__libs/gogoField/htmlarea htmlarea
10cd htmlarea
11for file in $(find | grep \.svn) $(find | grep CVS) $(find | grep \#);
12do
13if test -e $file; then echo "Remove $file"; rm -rf $file; fi; done
14cd /tmp
15tar -cjvf htmlarea.tar.bz2 htmlarea
16zip -9 -r htmlarea.zip htmlarea
17scp htmlarea.zip gogocode@gogo.co.nz:/home/gogocode/www/htmlarea.zip
18ssh gogocode@gogo.co.nz "sh -c \"cd ~/www;unzip -o htmlarea.zip\""
19cd $OWD
Note: See TracBrowser for help on using the repository browser.