r19316 - gnucash/trunk/src/bin/overrides - Fix paths. On Mandriva the original code resulted in two absolute path being appended, resulting in file not found errors.

Geert Janssens gjanssens at code.gnucash.org
Wed Jun 30 16:07:00 EDT 2010


Author: gjanssens
Date: 2010-06-30 16:06:59 -0400 (Wed, 30 Jun 2010)
New Revision: 19316
Trac: http://svn.gnucash.org/trac/changeset/19316

Modified:
   gnucash/trunk/src/bin/overrides/Makefile.am
Log:
Fix paths. On Mandriva the original code resulted in two absolute path being appended, resulting in file not found errors.

Modified: gnucash/trunk/src/bin/overrides/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/overrides/Makefile.am	2010-06-30 19:29:39 UTC (rev 19315)
+++ gnucash/trunk/src/bin/overrides/Makefile.am	2010-06-30 20:06:59 UTC (rev 19316)
@@ -43,8 +43,8 @@
 gnucash-build-env: gnucash-build-env.in ${top_builddir}/config.status Makefile
 	rm -f $@.tmp
 	sed < $< > $@.tmp \
-            -e 's#@-GNC_BUILDDIR-@#${PWD}/${top_builddir}#g' \
-            -e 's#@-GNC_SRCDIR-@#${PWD}/${top_srcdir}#g'
+            -e 's#@-GNC_BUILDDIR-@#${abs_top_builddir}#g' \
+            -e 's#@-GNC_SRCDIR-@#${abs_top_srcdir}#g'
 	mv $@.tmp $@
 	chmod u+x $@
 CLEANFILES += gnucash-build-env



More information about the gnucash-changes mailing list