view move-if-change @ 65628:a998f173b21a

* gtkutil.c (xg_set_geometry): Do a gtk_window_move if program positions have been set for the frame (as is done for frames in special-display-buffer-names).
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 20 Sep 2005 20:07:15 +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