Mercurial > hg > xemacs-beta
view move-if-change @ 3102:a05d78a1685f
[xemacs-hg @ 2005-11-28 09:50:16 by crestani]
Remove vdb-fake warning, die if POSIX checks fail.
author | crestani |
---|---|
date | Mon, 28 Nov 2005 09:50:20 +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