view move-if-change @ 5873:5a311f1f46aa

Don't extract a fixnum value unnecessarily, thank you Robert Delius Royar 2015-03-20 Aidan Kehoe <kehoea@parhasard.net> * data.c (build_fixnum_to_char_map): Whoops, highest_value is a Lisp_Object, no need to extract the fixnum from radix_table->default_ when initialising it. Thank you Robert Delius Royar, Uwe Brauer, and the union build.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 20 Mar 2015 13:48:16 +0000 (2015-03-20)
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