summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f8e21b)
raw | patch | inline | side by side (parent: 8f8e21b)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Sun, 24 Nov 2002 13:43:05 +0000 (13:43 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Sun, 24 Nov 2002 13:43:05 +0000 (13:43 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@227 f882894a-f735-0410-b71e-b25c423dba1c
tools/snapshot | patch | blob | history |
diff --git a/tools/snapshot b/tools/snapshot
index beeb4a8bccf875b48cca1feeb3a2b84416e3f263..9fa61cfeeedba38f7f8442167af61e83fdd5a4e3 100755 (executable)
--- a/tools/snapshot
+++ b/tools/snapshot
# This scipt assumes that you have anonCVS for nagios and nagiosplug
# in ${IN}
+# cvs -d:pserver:anonymous@cvs.nagiosplug.sourceforge.net:/cvsroot/nagiosplug login
+# cvs -z3 -d:pserver:anonymous@cvs.nagiosplug.sourceforge.net:/cvsroot/nagiosplug co nagiosplug
+#
+# cvs -d:pserver:anonymous@cvs.nagios.sourceforge.net:/cvsroot/nagios login
+# cvs -z3 -d:pserver:anonymous@cvs.nagios.sourceforge.net:/cvsroot/nagios co nagios
+
# Set directories
IN=${HOME}/sf
OUT=/col/htdocs/src/nagios
# Make the Nagiosplug custom RPM
echo "%_topdir ${RPM_TOPDIR}" > ./.rpmrc
-rpm --rcfile "/usr/lib/rpm/rpmrc:/etc/rpmrc:~/.rpmrc:./.rpmrc" \
- --define 'custom 1' -ta *.gz
+mkdir -p ${RPM_TOPDIR}/RPMS/i386 ${RPM_TOPDIR}/SRPMS ${RPM_TOPDIR}/SOURCES ${RPM_TOPDIR}/BUILD ${RPM_TOPDIR}/SPECS
+rpm --rcfile "/usr/lib/rpm/rpmrc:${IN}/rpmrc" --define 'custom 1' -ta *.gz
cp -fv ~/redhat/RPMS/i386/nagios-plugins-custom-*.i386.rpm /col/htdocs/src/nagios
# Copy the new snapshot and delete the old ones