1 #simple script to refresh ltp.tgz on LTP_HOST: ltpupdate
2 # 3/12/02 William Jay Huie (creation)
3 # 3/28/02 William Jay Huie minor updates
4 #I use this to update my copy of the CVS code, and upload it to the LTP_HOST
5 #from which the ltprun script pulls down the source for building/executing
8 export CVSROOT=:pserver:anonymous@cvs.LTP.sourceforge.net:/cvsroot/ltp
9 #cvs -d:pserver:anonymous@cvs.LTP.sourceforge.net:/cvsroot/ltp login
10 #cvs -z3 -d:pserver:anonymous@cvs.LTP.sourceforge.net:/cvsroot/ltp co ltp
13 LTP_HOST=ltp_host.somewhere.org
19 echo "Doing Cleaning up"
20 make clean &> /dev/null
23 echo "Starting cvs update"
24 #You can swap these if you don't care about the CVS info
25 #cvs update &> /dev/null
26 cvs update &> ~/ltp/update.report
27 echo " cvs update done"
31 echo "Creating ltp tarball"
32 tar -czf $LTP_TARFILE ltp
33 echo " ltp tarball done"
34 echo "Beginning ftp upload"
35 ftp -n $LTP_HOST << END_SCRIPT
36 user $LTP_USER $LTP_PASS
41 echo " ftp upload done"