[1503] in Moira
zephyr.sh fix
daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Tue Apr 4 17:02:10 2000
Message-Id: <200004042101.RAA21739@shock-treatment.mit.edu>
To: moiradev@MIT.EDU
Date: Tue, 04 Apr 2000 17:01:52 -0400
From: Garry Zacheiss <zacheiss@MIT.EDU>
so that we actually replace the files that changed, as opposed
to replacing only the ones that haven't changed. i'm checking this in
early.
Garry
Index: zephyr.sh
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/gen/zephyr.sh,v
retrieving revision 1.2
diff -c -r1.2 zephyr.sh
*** zephyr.sh 2000/01/22 03:11:42 1.2
--- zephyr.sh 2000/04/04 21:00:08
***************
*** 22,28 ****
# Copy over each file which is new or has changed
for file in *; do
if [ -f ../acl/$file ]; then
! if cmp -s $file ../acl/$file; then
mv $file ../acl/$file
hup=yes
fi
--- 22,29 ----
# Copy over each file which is new or has changed
for file in *; do
if [ -f ../acl/$file ]; then
! cmp -s $file ../acl/$file
! if [ $? != 0 ]; then
mv $file ../acl/$file
hup=yes
fi