diff options
-rwxr-xr-x | tools/sfsnapshot | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/sfsnapshot b/tools/sfsnapshot index b50cf22..122fb71 100755 --- a/tools/sfsnapshot +++ b/tools/sfsnapshot | |||
@@ -19,7 +19,7 @@ function make_dist { | |||
19 | v="$1-" | 19 | v="$1-" |
20 | else | 20 | else |
21 | cvs_rel="HEAD" | 21 | cvs_rel="HEAD" |
22 | v="" | 22 | v="HEAD-" |
23 | fi | 23 | fi |
24 | 24 | ||
25 | # Get compile server to do the work | 25 | # Get compile server to do the work |
@@ -29,16 +29,16 @@ function make_dist { | |||
29 | PATH=$PATH | 29 | PATH=$PATH |
30 | [[ ! -d $IN/$cvs_rel ]] && mkdir -p $IN/$cvs_rel | 30 | [[ ! -d $IN/$cvs_rel ]] && mkdir -p $IN/$cvs_rel |
31 | cd $IN/$cvs_rel | 31 | cd $IN/$cvs_rel |
32 | rm -f $PROJECT/configure.in | 32 | #rm -f $PROJECT/configure.in |
33 | cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug | 33 | cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug |
34 | cd $PROJECT | 34 | cd $PROJECT |
35 | sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp | 35 | #sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp |
36 | mv configure.tmp configure.in | 36 | #mv configure.tmp configure.in |
37 | tools/setup | 37 | tools/setup |
38 | ./configure | 38 | ./configure |
39 | 39 | ||
40 | # Make the Nagiosplug dist tarball | 40 | # Make the Nagiosplug dist tarball |
41 | make dist | 41 | make dist VERSION=$v$DS RELEASE=snapshot |
42 | 42 | ||
43 | # End ssh | 43 | # End ssh |
44 | EOF | 44 | EOF |
@@ -50,6 +50,9 @@ IN=${HOME}/tmp_snapshot | |||
50 | OUT_SERVER="shell.sf.net" | 50 | OUT_SERVER="shell.sf.net" |
51 | OUT="/home/groups/n/na/nagiosplug/htdocs/snapshot" | 51 | OUT="/home/groups/n/na/nagiosplug/htdocs/snapshot" |
52 | CF="usf-cf-x86-linux-2" | 52 | CF="usf-cf-x86-linux-2" |
53 | CF="usf-cf-x86-linux-1" | ||
54 | CF="x86-linux2" | ||
55 | CF="x86-linux1" | ||
53 | DS=`date -u +%Y%m%d%H%M` | 56 | DS=`date -u +%Y%m%d%H%M` |
54 | 57 | ||
55 | # Make dists for HEAD and any others in command parameters | 58 | # Make dists for HEAD and any others in command parameters |