[Gnucash-changes] r12008 - gnucash/trunk - * src/gnome-utils/Makefile.am: exit if "svn info" fails.

Derek Atkins warlord at cvs.gnucash.org
Mon Nov 21 18:53:57 EST 2005


Author: warlord
Date: 2005-11-21 18:53:57 -0500 (Mon, 21 Nov 2005)
New Revision: 12008
Trac: http://svn.gnucash.org/trac/changeset/12008

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/gnome-utils/Makefile.am
Log:
	* src/gnome-utils/Makefile.am: exit if "svn info" fails.



Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2005-11-21 19:31:44 UTC (rev 12007)
+++ gnucash/trunk/ChangeLog	2005-11-21 23:53:57 UTC (rev 12008)
@@ -1,3 +1,7 @@
+2005-11-21  Derek Atkins  <derek at ihtfp.com>
+
+	* src/gnome-utils/Makefile.am: exit if "svn info" fails.
+
 2005-11-21  Neil Williams <linux at codehelp.co.uk>
 
 	Use only qof.h in place of other QOF headers,

Modified: gnucash/trunk/src/gnome-utils/Makefile.am
===================================================================
--- gnucash/trunk/src/gnome-utils/Makefile.am	2005-11-21 19:31:44 UTC (rev 12007)
+++ gnucash/trunk/src/gnome-utils/Makefile.am	2005-11-21 23:53:57 UTC (rev 12008)
@@ -321,6 +321,11 @@
 	fi ; \
 	if [ -d $$s/.svn ] ; then \
 		svninfo=`svn info $$s |grep '^Revision: '|sed 's/Revision: //'` ; \
+		if [ -z "$$svninfo" ] ; then \
+			echo "svn info failed.  figure out why." ; \
+			echo "can't determine svn revision from $$s." ; \
+			exit 1 ; \
+		fi ; \
 		echo "#define GNUCASH_SVN_REV $$svninfo" > gnc-svninfo.h ; \
 	fi
 



More information about the gnucash-changes mailing list