diff --git a/tools/sfsnapshot b/tools/sfsnapshot
index e5a13d479cc9105340ac50d12e4549778d1a8e13..34c5795cec79d27b5266234ebe28ffb4ab9aa0c8 100755 (executable)
--- a/tools/sfsnapshot
+++ b/tools/sfsnapshot
else
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nagiosplug co -r $cvs_rel nagiosplug
cd $PROJECT
- aclocal -I lib
- autoheader
- autoconf
- automake --add-missing --copy
- autoreconf
- ./configure
fi
+ sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp
+ mv configure.tmp configure.in
+ aclocal -I lib
+ autoheader
+ autoconf
+ automake --add-missing --copy
+ autoreconf
+ ./configure
+
# Make the Nagiosplug dist tarball
- VER=$v$DS VERSION=$v$DS REL=snapshot make -e dist
+ make dist
# End ssh
EOF