added additional sed patterns

git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5489 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2011-07-14 05:32:35 +00:00
parent b75d75410d
commit 24fae71e9a

View File

@ -200,6 +200,8 @@ do
-e "/#define *VER_PATCH/s/[0-9]\+/$ver_patch/" \
-e "/#define *VER_REVISION/s/[0-9]\+/$REVISION_SVN/" \
-e "s/@RELEASE_DATE@/$RELEASE_DATE/g" \
-e "s/@PHREEQC_VER@/$VER/g" \
-e "s/@PHREEQC_DATE@/$RELEASE_DATE/g" \
< "$vsn_file" > "$vsn_file.tmp"
unix2dos "$vsn_file.tmp" 2> /dev/null
mv -f "$vsn_file.tmp" "$vsn_file"