view move-if-change @ 5604:e9f58d024c3c

Disable ASLR on Mac OS X Lion. 2011-11-27 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * configure.ac: Add "-Wl,-no_pie" to linker flags on Mac OS X Lion to disable ASLR that breaks pdump. * configure: Regenerate.
author Marcus Crestani <crestani@informatik.uni-tuebingen.de>
date Tue, 29 Nov 2011 16:19:53 +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