view move-if-change @ 27053:3995eec4287f

(enum jpeg_keyword_index): Add JPEG_DATA. (jpeg_format): Add :data. (jpeg_image_p): Handle :data. (our_fill_input_buffer, our_skip_input_data, our_term_source) (jpeg_memory_src): New functions. (jpeg_load): Read image from string data.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 31 Dec 1999 14:53:52 +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