Mercurial > hg > xemacs-beta
view move-if-change @ 4798:ea7a6c12df45
Change /usr/lib/X11 paths to /usr/share/X11. See xemacs-patches message with
ID <870180fe0912220954ma15f496va367b29cf9656f35@mail.gmail.com>.
author | Jerry James <james@xemacs.org> |
---|---|
date | Mon, 04 Jan 2010 16:48:55 -0700 (2010-01-04) |
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