view move-if-change @ 104490:7811201f57f2

* cedet/semantic/analyze/fcn.el (semantic-analyze-dereference-metatype-1) (semantic-analyze-type): Require semantic/scope. (semantic-analyze-select-best-tag): Require semantic/db-typecache. (semantic-analyze-dereference-metatype): Move up to avoid compiler warning. * cedet/semantic/analyze.el (semantic-adebug-analyze): Require data-debug.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 13 Sep 2009 16:12:23 +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