view move-if-change @ 5296:d185fa593d5f last-version-with-netinstall

Specify ERROR_ME_WARN explicitly in specifier_instance_from_inst_list(). src/ChangeLog 2010-10-25 Aidan Kehoe <kehoea@parhasard.net> * specifier.c (specifier_instance_from_inst_list): Call call_with_suspended_errors() with ERROR_ME_WARN, explicitly; avoids the problem Giacomo Boffi describes in http://mid.gmane.org/19617.52517.341117.388679@aiuole.stru.polimi.it , but the specifier instantiation bug that makes XEmacs fail for him is still visible.
author Aidan Kehoe <kehoea@parhasard.net>
date Mon, 25 Oct 2010 17:57:37 +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