Mercurial > emacs
view move-if-change @ 44468:539150b68126
Add support for the new project file fields:
gnatfind-opt, debug-pre-cmd and debug-post-cmd. Fix widget handling
for Emacs 21. ada-mode now only supports a single active project file,
instead of one per buffer. This is far less confusing.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 09 Apr 2002 18:56:34 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
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