view move-if-change @ 56348:550df8e67006

* macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList instead of CGMainDisplayID (only in OSX 10.2 and later).
author Jan Djärv <jan.h.d@swipnet.se>
date Mon, 05 Jul 2004 07:01:02 +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