r19164 - gnucash/trunk/packaging/win32 - Revert r19159, "Fix windows tag build script, by Geert Janssens"

Christian Stimming cstim at code.gnucash.org
Fri May 14 05:00:57 EDT 2010


Author: cstim
Date: 2010-05-14 05:00:57 -0400 (Fri, 14 May 2010)
New Revision: 19164
Trac: http://svn.gnucash.org/trac/changeset/19164

Modified:
   gnucash/trunk/packaging/win32/build_tags.sh
Log:
Revert r19159, "Fix windows tag build script, by Geert Janssens"

I thought I would get access to the build server immediately to
perform the cleanup of the old tag file, but apparently the server is
unreachable for me for now, so I cannot commit this change today. Maybe later.

Modified: gnucash/trunk/packaging/win32/build_tags.sh
===================================================================
--- gnucash/trunk/packaging/win32/build_tags.sh	2010-05-14 09:00:43 UTC (rev 19163)
+++ gnucash/trunk/packaging/win32/build_tags.sh	2010-05-14 09:00:57 UTC (rev 19164)
@@ -25,12 +25,12 @@
 # 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 ${TAG_URL} > ${tagfile}
 fi
 
 # Figure out the new set of tags
-svn ls -v ${TAG_URL} |  awk '/[^.]\/$/ { print $6$1 }' > ${tagfile}.new
-tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g'`"
+svn ls ${TAG_URL} > ${tagfile}.new
+tags="`diff --suppress-common-lines ${tagfile} ${tagfile}.new | grep '^> ' | sed -e 's/^> //g' -e 's#/$##g'`"
 
 # move the new file into place
 mv -f ${tagfile}.new ${tagfile}
@@ -38,11 +38,9 @@
 ################################################################
 # Now iterate over all the new tags (if any) and build a package
 
-for tag_rev in $tags ; do
-  tag=${tag_rev%/*}
+for tag in $tags ; do
   tagbasedir=/c/soft/gnucash-${tag}
   tagdir=${tagbasedir}/gnucash
-  rm -fr $tagbasedir
   mkdir -p ${tagdir}
 
   # Copy the downloads to save time



More information about the gnucash-changes mailing list