view move-if-change @ 109472:20f9503a8859

Fix previous change in gnus-summary-bookmark-make-record. 2010-07-20 Katsumi Yamaoka <yamaoka@jpl.org> * gnus-sum.el (gnus-summary-bookmark-make-record): Bookmark position in the article buffer, not the summary buffer.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Tue, 20 Jul 2010 01:19:04 +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