Use sed's in-place option.

This commit is contained in:
Bill Currie 2012-07-11 13:38:27 +09:00
parent 00215f4cbd
commit f467e2de54

View file

@ -69,8 +69,7 @@ cd quakeforge-$ver
git checkout $tag_name
cp NEWS $RELEASE
if test "$tag_name" != master; then
sed -e "s/git-master/$tag_name/" configure.ac > configure.ac-
mv configure.ac- configure.ac
sed -i -e "s/git-master/$tag_name/" configure.ac
fi
mkdir -p linux.o qf-win32.o
./bootstrap