Mercurial > hg > xemacs-beta
view move-if-change @ 3737:7a1c4c523603
[xemacs-hg @ 2006-12-11 12:39:55 by aidan]
2006-12-11 Aidan Kehoe <kehoea@parhasard.net>
* mule/mule-cmds.el (create-variant-language-environment):
Avoid an error when creating a modified lang environment; use the
old environment's string name rather than its value when calling
replace-in-string.
author | aidan |
---|---|
date | Mon, 11 Dec 2006 12:40:02 +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