view move-if-change @ 50736:b0ce71ab9c28

(ada-search-directories): Take into account ADA_INCLUDE_PATH for better compatibility with GNAT. (ada-contextual-menu): Menu defined through `easy-menu-define' instead. Various adjustments to the indentation engine (handling of subtypes, begin blocks, etc.). (ada-create-menu): Major rewrite of the handling of menus to use `easy-menu-define' for cleaner code and better compatibility with XEmacs. All menus that were previously in ada-xref.el and ada-prj.el are now defined in this package, which makes it easier to edit menus. (ada-narrow-to-defun): Add support for `narrow-to-region'. No longer explicitely load ada-xref.el and ada-prj.el. Use autoload statements instead.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 29 Apr 2003 23:35:40 +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