view move-if-change @ 62798:1efd1bf14e07

Now an element of Vccl_program_table is a vector of length 4, not 3. (ccl_get_compiled_code): New arg idx. Caller changed. Adjusted for the change of Vccl_program_table. (setup_ccl_program): Adjusted for the change of Vccl_program_table. (check_ccl_update): New function. (Fregister_ccl_program): Use ASET to set an element of a vector. Adjusted for the change of Vccl_program_table.
author Kenichi Handa <handa@m17n.org>
date Fri, 27 May 2005 11:27:50 +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