view move-if-change @ 109189:29b1f66af49a

Unify the two branches of process.c, with and without subprocesses. process.c: Reshuffle #include's. Condition some of the global and static variables on `subprocesses'. (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p): Leave only one implementation. (Fget_buffer_process, Fprocess_inherit_coding_system_flag) (kill_buffer_processes, Flist_system_processes) (Fprocess_attributes, init_process, syms_of_process): Unify the implementations for with subprocesses and without them.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 10 Jul 2010 16:35:23 +0300
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