annotate move-if-change @ 62428:9f49da4a429d

Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-314 Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 69) - Update from CVS 2005-05-16 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/gnus-art.el: Don't autoload mail-extract-address-components. * lisp/gnus/gnus.el: Use eval-and-compile to autoload message-y-or-n-p. * lisp/gnus/nndb.el: Don't declare the nndb back end two or more times; don't autoload news-reply-mode, news-setup, cancel-timer and telnet. * lisp/gnus/nntp.el: Autoload format-spec instead of format; use eval-and-compile to evaluate autoload forms. * lisp/gnus/spam-report.el (spam-report-process-queue): Use gnus-point-at-eol.
author Miles Bader <miles@gnu.org>
date Tue, 17 May 2005 04:57:29 +0000
parents 354e0c45cedf
children 14a97ab281d5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25856
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #!/bin/sh
Dave Love <fx@gnu.org>
parents:
diff changeset
2 if
Dave Love <fx@gnu.org>
parents:
diff changeset
3 test -r $2
Dave Love <fx@gnu.org>
parents:
diff changeset
4 then
Dave Love <fx@gnu.org>
parents:
diff changeset
5 if
Dave Love <fx@gnu.org>
parents:
diff changeset
6 cmp $1 $2 > /dev/null
Dave Love <fx@gnu.org>
parents:
diff changeset
7 then
Dave Love <fx@gnu.org>
parents:
diff changeset
8 echo $2 is unchanged
Dave Love <fx@gnu.org>
parents:
diff changeset
9 rm -f $1
Dave Love <fx@gnu.org>
parents:
diff changeset
10 else
Dave Love <fx@gnu.org>
parents:
diff changeset
11 mv -f $1 $2
Dave Love <fx@gnu.org>
parents:
diff changeset
12 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
13 else
Dave Love <fx@gnu.org>
parents:
diff changeset
14 mv -f $1 $2
Dave Love <fx@gnu.org>
parents:
diff changeset
15 fi