view move-if-change @ 4691:3ba90c659d01

Move Qfrom_unicode to general-slots.h, fix the native Win32 build. 2009-09-20 Aidan Kehoe <kehoea@parhasard.net> * general-slots.h: * mule-coding.c (syms_of_mule_coding): * mule-charset.c (syms_of_mule_charset): Move Qfrom_unicode to general-slots.h, now it's used in more than one file. Fixes the native Win32 build; thank you Vin!
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 20 Sep 2009 08:27:42 +0100
parents 376386a54a3c
children
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