ajout une premiere liste rapide, des fichiers non-Up-to-date.
darcs-hash:20000616200523-92525-f6071caef4bf064b4ac8523d68f7e8347464bc86.gz
This commit is contained in:
parent
8ab9a4b14b
commit
e63e776ab6
1 changed files with 6 additions and 1 deletions
|
@ -15,7 +15,12 @@ echo "-------------------------------"
|
|||
) > $tempF 2>&1
|
||||
|
||||
cd /etc
|
||||
/usr/bin/cvs -q -d /usr/cvs-rep status | grep -A8 Locally > $tempF2
|
||||
/usr/bin/cvs -q -d /usr/cvs-rep status /etc/ /usr/scripts/ >$tempF3
|
||||
grep "Status" $tempF3 |grep -v "Up-to-date" >$tempF2
|
||||
|
||||
echo -ne "\nDetails des Locally modified files\n" >>$tempF2
|
||||
echo -ne "----------------------------------\n" >>$tempF2
|
||||
grep -A8 "Locally" $tempF3 >> $tempF2
|
||||
|
||||
if test -n "$1";
|
||||
then test -s $tempF2 && cat $tempF $tempF2 | sendmail "$1";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue