From b14c5c2fd59cc794d7b7631f982220bc539dd70c Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 4 May 2008 17:06:12 -0400 Subject: [PATCH] Delete and recreate 'version' file to work around the fact that p4 write-protects everything. SVN-Revision: 23 --- release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/release.sh b/release.sh index 85f873cbd..50b215731 100755 --- a/release.sh +++ b/release.sh @@ -15,6 +15,8 @@ MARKER=`cat version | sed 's/[0-9.]//g'` VN=`cat version | sed 's/[^0-9.]//g'` # Reassemble and write back out VN=$(($VN + 1)) +rm -f version.old +mv version version.old echo $VN$MARKER > version # Build out the string. VS="$(($VN/1000000)).$(( ($VN/1000)%1000 )).$(( $VN%1000 ))$MARKER" -- 2.47.3