#!/bin/sh # check-rcs for VideoteXt # # $Id: check-rcs,v 1.1 1997/09/14 01:00:44 mb Exp mb $ # # Copyright (c) 1997 Martin Buck # Read COPYING for more information # This script checks whether there are changes in the sourcecode that haven't # been checked into RCS yet. STATUS=0 for FILE in `find -type f -path '*/RCS/*,v'`; do FILE="`echo "$FILE" | sed -e 's@/RCS/@/@g' -e 's@,v$@@g'`" rcsdiff "$FILE" 1> /dev/null 2> /dev/null || { echo "$FILE" STATUS=1 } done exit $STATUS