Fix paths. On Mandriva the original code resulted in two absolute path being appended, resulting in file not found errors.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19316 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2010-06-30 20:06:59 +00:00
parent eb66cdcb2b
commit 550ba24ee9

View File

@ -43,8 +43,8 @@ CLEANFILES += gnucash-env
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