mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
added NAME var to dist.sh
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@9623 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
08a900399e
commit
8ae197af66
@ -26,6 +26,7 @@
|
||||
# specified, it will build a release tarball.
|
||||
#
|
||||
# To build a Windows package pass -win.
|
||||
NAME=IPhreeqc
|
||||
|
||||
# echo everything
|
||||
# set -x
|
||||
@ -123,7 +124,7 @@ else
|
||||
REPOS_PATH="`echo $REPOS_PATH | sed 's/^\/*//'`"
|
||||
fi
|
||||
|
||||
DISTNAME="IPhreeqc-${VERSION}${VER_NUMTAG}"
|
||||
DISTNAME="${NAME}-${VERSION}${VER_NUMTAG}"
|
||||
DIST_SANDBOX=.dist_sandbox
|
||||
DISTPATH="$DIST_SANDBOX/$DISTNAME"
|
||||
|
||||
@ -217,7 +218,7 @@ do
|
||||
-e "s/@REVISION_SVN@/$REVISION_SVN/g" \
|
||||
< "$vsn_file" > "$vsn_file.tmp"
|
||||
mv -f "$vsn_file.tmp" "$vsn_file"
|
||||
if [ -n "$WIN" ]; then
|
||||
if [ -n "$WIN" ] && [ "$vsn_file" != "$DISTPATH/configure.ac" ]; then
|
||||
unix2dos "$vsn_file"
|
||||
fi
|
||||
cp "$vsn_file" "$vsn_file.dist"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user