view move-if-change @ 49274:eb2699620e9c

* gnus-agent.el: Don't use `path'. * nnsoup.el (nnsoup-file-name): Ditto. * nnmail.el (nnmail-pathname-coding-system): Ditto. (nnmail-group-pathname): Ditto. * nnimap.el (nnimap-group-overview-filename): Ditto. * nnheader.el (nnheader-pathname-coding-system): Ditto. (nnheader-group-pathname): Ditto. * nnfolder.el (nnfolder-group-pathname): Ditto. * gnus.el (gnus-home-directory): Ditto. * gnus-group.el (gnus-group-icon-list): Ditto.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Thu, 16 Jan 2003 01:19:03 +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