view move-if-change @ 77900:2e526dc9c6b6

Update version number. (timeclock-modeline-display): Mention timeclock-use-display-time in explanatory message. (timeclock-log): Suppress warnings when finding the log. Don't check for a nil project twice. Run hooks after killing the buffer (if applicable). (timeclock-geometric-mean): Rename to `timeclock-mean' (it never was geometric). All uses changed. (timeclock-generate-report): Support prefix argument.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 04 Jun 2007 23:49:26 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi