r19216 - gnucash/trunk/packaging/win32 - Fix script that builds the release tags. Awk works differently on windows than on linux apparently.
Geert Janssens
gjanssens at code.gnucash.org
Tue Jun 1 10:22:34 EDT 2010
Author: gjanssens
Date: 2010-06-01 10:22:34 -0400 (Tue, 01 Jun 2010)
New Revision: 19216
Trac: http://svn.gnucash.org/trac/changeset/19216
Modified:
gnucash/trunk/packaging/win32/build_tags.sh
Log:
Fix script that builds the release tags. Awk works differently on windows than on linux apparently.
Modified: gnucash/trunk/packaging/win32/build_tags.sh
===================================================================
--- gnucash/trunk/packaging/win32/build_tags.sh 2010-05-31 18:08:58 UTC (rev 19215)
+++ gnucash/trunk/packaging/win32/build_tags.sh 2010-06-01 14:22:34 UTC (rev 19216)
@@ -25,11 +25,11 @@
# 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 @@
# 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
More information about the gnucash-changes
mailing list