view move-if-change @ 100839:03cb6ea90f92

* nsfns.m (x_set_foreground_color, x_set_background_color) (x_set_cursor_color, x_set_icon_name, x_explicitly_set_name) (x_set_title, x_set_icon_type, x_set_cursor_type): Rename to use x_ prefix instead of ns_. Update references. (syms_of_nsfns): Add a FIXME comment. * nsterm.m (x_set_cursor_type): New prototype. (setValuesFromPanel): Use it instead of the old ns_ prefixed name.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 02 Jan 2009 18:58:49 +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