File: update_tarball.sh

package info (click to toggle)
hugin 2010.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 32,096 kB
  • ctags: 17,086
  • sloc: cpp: 85,561; ansic: 6,331; perl: 498; sh: 270; makefile: 117; java: 29; python: 10; xml: 9
file content (22 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# download the developer cvs and put it on the website.
# change for your sf account..

SF_USER=dangelo

CVS_RSH=ssh

cdate=`date +"%Y_%m_%d-%H_%M"`

cd /tmp
if [ -d hugin ];
then
     echo "removing old checkout"
     rm -rf hugin;
fi
cvs -d:ext:${SF_USER}@cvs.sourceforge.net:/cvsroot/hugin export -r HEAD hugin
fname=hugin_${cdate}.tgz
tar cvzf $fname hugin
echo "copying to sf site"
scp $fname ${SF_USER}@shell1.sf.net:/home/groups/h/hu/hugin/htdocs/snapshots/