mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
added sed files
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@5491 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
24fae71e9a
commit
4637321529
@ -189,11 +189,15 @@ fi
|
|||||||
|
|
||||||
VERSION_LONG="$ver_major.$ver_minor.$ver_patch.$REVISION_SVN"
|
VERSION_LONG="$ver_major.$ver_minor.$ver_patch.$REVISION_SVN"
|
||||||
|
|
||||||
SED_FILES="$DISTPATH/configure.ac"
|
SED_FILES="$DISTPATH/configure.ac \
|
||||||
|
$DISTPATH/src/phreeqcpp/PHREEQCPP-RLEASE.txt \
|
||||||
|
$DISTPATH/src/phreeqcpp/phreec/revisions"
|
||||||
for vsn_file in $SED_FILES
|
for vsn_file in $SED_FILES
|
||||||
do
|
do
|
||||||
sed \
|
sed \
|
||||||
-e "s/AC_INIT(.*)/AC_INIT([IPhreeqc], [$VERSION-$REVISION], [charlton@usgs.gov])/g" \
|
-e "s/AC_INIT(.*)/AC_INIT([IPhreeqc], [$VERSION-$REVISION], [charlton@usgs.gov])/g" \
|
||||||
|
-e "s/@PHREEQC_VER@/$VER/g" \
|
||||||
|
-e "s/@PHREEQC_DATE@/$RELEASE_DATE/g" \
|
||||||
< "$vsn_file" > "$vsn_file.tmp"
|
< "$vsn_file" > "$vsn_file.tmp"
|
||||||
mv -f "$vsn_file.tmp" "$vsn_file"
|
mv -f "$vsn_file.tmp" "$vsn_file"
|
||||||
if [ -n "$WIN" ]; then
|
if [ -n "$WIN" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user