summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2003-05-13 22:23:16 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2003-05-13 22:23:16 (GMT)
commit7d1106de29156d13cdb19655e7f4e78f6bbc4c27 (patch)
treeee9baa0101a7832137ebded2dac3f26497953095
parent54921a5e45644a4b94bc0550e76b30a0049474b8 (diff)
downloadmonitoring-plugins-7d1106de29156d13cdb19655e7f4e78f6bbc4c27.tar.gz
Calls tools/setup and creates a README for the snapshot directory
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@507 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-xtools/sfsnapshot13
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/sfsnapshot b/tools/sfsnapshot
index 60b2cef..e3e212e 100755
--- a/tools/sfsnapshot
+++ b/tools/sfsnapshot
@@ -40,11 +40,7 @@ function make_dist {
40 40
41 sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp 41 sed 's/^VER=.*/VER=$v$DS/;s/^REL=.*/REL=snapshot/' configure.in > configure.tmp
42 mv configure.tmp configure.in 42 mv configure.tmp configure.in
43 aclocal -I lib 43 tools/setup
44 autoheader
45 autoconf
46 automake --add-missing --copy
47 autoreconf
48 ./configure 44 ./configure
49 45
50 # Make the Nagiosplug dist tarball 46 # Make the Nagiosplug dist tarball
@@ -78,7 +74,12 @@ scp $files $OUT_SERVER:$OUT
78# Create MD5 sum 74# Create MD5 sum
79ssh $OUT_SERVER << EOF 75ssh $OUT_SERVER << EOF
80cd $OUT 76cd $OUT
81md5sum *.gz > MD5SUM 77cat <<-END_README > README
78This is the daily CVS snapshot of nagiosplug, consisting of the CVS HEAD
79and any other branches
80The MD5SUM is:
81END_README
82md5sum *.gz | tee -a README > MD5SUM
82EOF 83EOF
83 84
84rm -f $files 85rm -f $files