Mercurial > hg > xemacs-beta
view move-if-change @ 567:4a2749e56f92
[xemacs-hg @ 2001-05-24 11:21:32 by yoshiki]
Karl M. Hegbloom)s patch "[configure.in,config.h.in,movemail.c] Use mkstemp if possible (warning suppression, "security")",
<87g0ea77tc.fsf@bittersweet.intra.hegbloom.net>
author | yoshiki |
---|---|
date | Thu, 24 May 2001 11:22:26 +0000 |
parents | 376386a54a3c |
children |
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