r22724 - meta/hooks - Trigger the local svn->git conversion hook

Derek Atkins warlord at code.gnucash.org
Tue Jan 22 21:14:06 EST 2013


Author: warlord
Date: 2013-01-22 21:14:05 -0500 (Tue, 22 Jan 2013)
New Revision: 22724
Trac: http://svn.gnucash.org/trac/changeset/22724

Modified:
   meta/hooks/post-commit
Log:
Trigger the local svn->git conversion hook


Modified: meta/hooks/post-commit
===================================================================
--- meta/hooks/post-commit	2013-01-22 22:25:31 UTC (rev 22723)
+++ meta/hooks/post-commit	2013-01-23 02:14:05 UTC (rev 22724)
@@ -83,10 +83,13 @@
 #          it.  This means "gnucash-docs" should be before "gnucash", otherwise
 #          the shorter name would match first. -- warlord
 if [ `${SVNLOOK} changed "${REPOS}" -r "${REV}" | ${EGREP} -c "^....htdocs"` != 0 ] ; then
+    touch "${REPOS}"/tmp/trigger
     "${REPOS}"/hooks/update-github gnucash-htdocs
 elif [ `${SVNLOOK} changed "${REPOS}" -r "${REV}" | ${EGREP} -c "^....gnucash-docs"` != 0 ] ; then
+    touch "${REPOS}"/tmp/trigger
     "${REPOS}"/hooks/update-github gnucash-docs
 elif [ `${SVNLOOK} changed "${REPOS}" -r "${REV}" | ${EGREP} -c "^....gnucash"` != 0 ] ; then
+    touch "${REPOS}"/tmp/trigger
     "${REPOS}"/hooks/update-github gnucash
 fi
 



More information about the gnucash-changes mailing list