view move-if-change @ 5223:acc4a6c9f5f9

Remove the definition of Q_data from glyphs.c, fixing C++ build. 2010-06-01 Aidan Kehoe <kehoea@parhasard.net> * glyphs.c (syms_of_glyphs): Remove the definition of Q_data from this file, now it's in general-slots.h. Problem picked up by a C++ build.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 01 Jun 2010 20:31:11 +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