mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Fix script that builds the release tags. Awk works differently on windows than on linux apparently.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19216 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -25,11 +25,11 @@ svn update
|
||||
# If we don't have a tagfile then start from 'now'
|
||||
tagfile=tags
|
||||
if [ ! -f ${tagfile} ] ; then
|
||||
svn ls -v ${TAG_URL} | awk '/[^.]\/$/ { print $6$1 }' > ${tagfile}
|
||||
svn ls -v ${TAG_URL} | awk '/[^.]\// { print $1"/"$6 }' > ${tagfile}
|
||||
fi
|
||||
|
||||
# Figure out the new set of tags
|
||||
svn ls -v ${TAG_URL} | awk '/[^.]\/$/ { print $6$1 }' > ${tagfile}.new
|
||||
svn ls -v ${TAG_URL} | awk '/[^.]\// { print $1"/"$6 }' > ${tagfile}.new
|
||||
tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g'`"
|
||||
|
||||
# move the new file into place
|
||||
@@ -39,7 +39,8 @@ mv -f ${tagfile}.new ${tagfile}
|
||||
# Now iterate over all the new tags (if any) and build a package
|
||||
|
||||
for tag_rev in $tags ; do
|
||||
tag=${tag_rev%/*}
|
||||
tag=${tag_rev#*/}
|
||||
tag=${tag%/*}
|
||||
tagbasedir=/c/soft/gnucash-${tag}
|
||||
tagdir=${tagbasedir}/gnucash
|
||||
rm -fr $tagbasedir
|
||||
|
||||
Reference in New Issue
Block a user