Changeset 79


Ignore:
Timestamp:
Mar 18, 2006, 9:25:20 PM (15 years ago)
Author:
Jari Häkkinen
Message:

Changed script to produce output only when the repository is changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/htdocs.sh

    r38 r79  
    11#!/bin/bash
     2
    23# $Id$
     4
     5# Copyright (C) 2006 Jari Häkkinen
     6#
     7# This file is part of baseplugins, http://lev.thep.lu.se/trac/baseplugins
     8#
     9# baseplugins is free software; you can redistribute it and/or modify
     10# it under the terms of the GNU General Public License as published by
     11# the Free Software Foundation; either version 2 of the License, or
     12# (at your option) any later version.
     13#
     14# baseplugins is distributed in the hope that it will be useful, but
     15# WITHOUT ANY WARRANTY; without even the implied warranty of
     16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     17# General Public License for more details.
     18#
     19# You should have received a copy of the GNU General Public License
     20# along with this program; if not, write to the Free Software
     21# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     22# 02111-1307, USA.
     23
    324cd /export/home/trac/tracs/baseplugins/htdocs
    4 /usr/bin/svn update
     25/usr/bin/svn diff -rHEAD > tmp.txt
     26if [ -s "tmp.txt" ]; then
     27        /usr/bin/svn update
     28fi
     29rm -f tmp.txt
Note: See TracChangeset for help on using the changeset viewer.