summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6500b87)
raw | patch | inline | side by side (parent: 6500b87)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Sun, 29 Jun 2003 01:36:12 +0000 (01:36 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Sun, 29 Jun 2003 01:36:12 +0000 (01:36 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@565 f882894a-f735-0410-b71e-b25c423dba1c
tools/sfwebcron | patch | blob | history |
diff --git a/tools/sfwebcron b/tools/sfwebcron
index 89a82ab2ded50b3d0bc28cbc05985e5f8a0f5c3e..9824de852d63de805d4d59c21d2ef13205a4d9e8 100755 (executable)
--- a/tools/sfwebcron
+++ b/tools/sfwebcron
#! /bin/bash
# sfwebcron
-# To update the developers-guidelines.html and put in main area
+# To update the developers-guidelines.html and put in html area
#
# Install in cron with something like:
# 47 7 * * * $HOME/bin/sfwebcron
# Set working variables
PROJECT=nagiosplug
IN=${HOME}/tmp_sfwebcron
-OUT="/home/groups/n/na/nagiosplug/htdocs/ton"
-DS=`date -u +%Y%m%d%H%M`
+OUT="/home/groups/n/na/nagiosplug/htdocs"
# Get latest dev guildelines
[[ ! -d $IN ]] && mkdir $IN
cvs update
# Is the dev guidelines updated?
-touch now
make
-if [[ developer-guidelines.html -nt now ]] ; then
+if [[ developer-guidelines.html -nt $OUT/developer-guidelines.html ]] ; then
cp developer-guidelines.html developer-guidelines.sgml $OUT
fi
-rm now