Code

Fixed building snapshots - cvs update ignores new directories.
authorTon Voon <tonvoon@users.sourceforge.net>
Mon, 11 Aug 2003 19:43:36 +0000 (19:43 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Mon, 11 Aug 2003 19:43:36 +0000 (19:43 +0000)
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

tools/sfsnapshot

index 7714aef49f3dbd746e454048535ff1232e423cdb..68076e3bc9aa5fef3f6b32c3cac745de2575fdd8 100755 (executable)
@@ -29,22 +29,14 @@ function make_dist {
        PATH=$PATH
        [[ ! -d $IN/$cvs_rel ]] && mkdir -p $IN/$cvs_rel
        cd $IN/$cvs_rel
-       if [[ -d $PROJECT ]] ; then
-               cd $PROJECT 
-               rm configure.in
-               cvs update -r $cvs_rel
-       else
-               cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug
-               cd $PROJECT
-       fi
-
+       rm -f $PROJECT/configure.in
+       cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug
+       cd $PROJECT
        sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp
        mv configure.tmp configure.in
        tools/setup
        ./configure
 
-  make
-
        # Make the Nagiosplug dist tarball
        make dist