view move-if-change @ 70385:c04007f00211

(mac_make_lispy_event_code): Remove extern. (mac_post_mouse_moved_event): Add extern. (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to `const AEDesc *' in externs. (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 05 May 2006 06:44:55 +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