annotate move-if-change @ 82970:5ef78f4dd84f

[ Merge from Emacs trunk: ] 2004-08-30 Juanma Barranquero <lektu@terra.es> * ietf-drums.el (ietf-drums-remove-whitespace): Fix character constant. [Emacs/trunk 2003-02-18] 2004-08-30 Andreas Schwab <schwab@suse.de> * nnlistserv.el (nnlistserv-kk-wash-article): Fix paren nesting. * gnus-score.el (gnus-summary-increase-score): Fix format string. [Emacs/trunk 2004-02-08] 2004-08-30 Stefan Monnier <monnier@iro.umontreal.ca> * nnimap.el (nnimap-demule): Avoid string-as-multibyte. [Emacs/trunk 2004-05-06] 2004-08-30 Kim F. Storm <storm@cua.dk> * nntp.el (nntp-authinfo-file): Add :group 'nntp. * nnimap.el (nnimap-authinfo-file, nnimap-prune-cache): Add :group 'nnimap. [Emacs/trunk 2004-06-29]
author Reiner Steib <Reiner.Steib@gmx.de>
date Mon, 30 Aug 2004 18:18:31 +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