File: dailybuild.sh

package info (click to toggle)
freepops 0.2.9-4.2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,284 kB
  • ctags: 2,684
  • sloc: ansic: 16,605; sh: 1,797; makefile: 1,369; cpp: 353
file content (37 lines) | stat: -rw-r--r-- 825 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh

#set -x

export PATH=/bin:/usr/bin/:/usr/local/bin/
rm -fr /tmp/fp 
mkdir -p /tmp/fp/toupload/ 
cd /tmp/fp 
while [ ! -d freepops ]; do
	cvs -d:ext:gareuselesinge@cvs.freepops.org:/cvsroot/freepops/ \
		co freepops 
	sleep 30
done
cd freepops 
./configure.sh linux 
make tgz-dist 
cp dist-tgz/*.tar.gz ../toupload/ 
make -C /home/tassi/Projects/freepops/mingw32_freepops/ switch-to-gnutls \
	
make -C buildfactory dist-win-gnutls 
cp dist-win/*.exe ../toupload/ 
make -C /home/tassi/Projects/freepops/mingw32_freepops/ switch-to-openssl \
	
make distclean
make -C buildfactory dist-win-openssl 
cp dist-win/*.exe ../toupload/ 
cd ../toupload 
scp * marcello.cs.unibo.it:public_html/beta/daily/ 
ssh marcello.cs.unibo.it &>/dev/null <<EOT
chmod a+r public_html/beta/daily/*
EOT
date
ls -lh
cd
rm -rf /tmp/fp 

#eot