diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-08-11 19:43:36 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-08-11 19:43:36 +0000 |
commit | c2a4a3a67f4cc87bdbd4d653477f4a09662be228 (patch) | |
tree | cfdb058546506ca681262781384ec97cc3eb74b1 | |
parent | aea655ca1436a3f6d5e2acb6b365c28dbaca62e6 (diff) | |
download | monitoring-plugins-c2a4a3a67f4cc87bdbd4d653477f4a09662be228.tar.gz |
Fixed building snapshots - cvs update ignores new directories.
Also do not need to run make
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@681 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-x | tools/sfsnapshot | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/tools/sfsnapshot b/tools/sfsnapshot index 7714aef4..68076e3b 100755 --- a/tools/sfsnapshot +++ b/tools/sfsnapshot | |||
@@ -29,22 +29,14 @@ 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 | if [[ -d $PROJECT ]] ; then | 32 | rm -f $PROJECT/configure.in |
33 | cd $PROJECT | 33 | cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug |
34 | rm configure.in | 34 | cd $PROJECT |
35 | cvs update -r $cvs_rel | ||
36 | else | ||
37 | cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug | ||
38 | cd $PROJECT | ||
39 | fi | ||
40 | |||
41 | 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 |
42 | mv configure.tmp configure.in | 36 | mv configure.tmp configure.in |
43 | tools/setup | 37 | tools/setup |
44 | ./configure | 38 | ./configure |
45 | 39 | ||
46 | make | ||
47 | |||
48 | # Make the Nagiosplug dist tarball | 40 | # Make the Nagiosplug dist tarball |
49 | make dist | 41 | make dist |
50 | 42 | ||