When someone created a read only src dir and builds in a separate build
dir then the original read only vgversion.h is copied from the src dir
into the build dir as vgversion.h.tmp (also read only). It could then
not be removed again in the auxprogs/make_or_upd_vgversion_h script.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16418
if grep -q unknown include/vgversion.h.tmp ||
cmp -s include/vgversion.h include/vgversion.h.tmp
then
- rm include/vgversion.h.tmp
+ rm -f include/vgversion.h.tmp
else
mv include/vgversion.h.tmp include/vgversion.h
fi