aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-19 11:09:44 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-19 11:09:44 +0000
commit716028ee877c6ae78f0ebf4b20592cb7474f6be9 (patch)
treecd93b352aa2bd5c27928a0cd911d7992586f21a2
parentd411d696f820a7742da8dbd8e7f32a6104a15a1b (diff)
downloadpaludis-716028ee877c6ae78f0ebf4b20592cb7474f6be9.tar.gz
paludis-716028ee877c6ae78f0ebf4b20592cb7474f6be9.tar.xz
Don't clobber LD_LIBRARY_PATH
-rw-r--r--paludis/repositories/gentoo/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/Makefile.am b/paludis/repositories/gentoo/Makefile.am
index 51bfb9b..187df38 100644
--- a/paludis/repositories/gentoo/Makefile.am
+++ b/paludis/repositories/gentoo/Makefile.am
@@ -185,7 +185,8 @@ TESTS_ENVIRONMENT = env \
PALUDIS_SKIP_CONFIG="yes" \
TEST_SCRIPT_DIR="$(srcdir)/" \
PALUDIS_REPOSITORY_SO_DIR="$(top_builddir)/paludis/repositories" \
- LD_LIBRARY_PATH="`$(top_srcdir)/paludis/repositories/gentoo/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/gentoo/`:` \
+ LD_LIBRARY_PATH="`echo $$LD_LIBRARY_PATH: | sed -e 's,^:,,'`` \
+ $(top_srcdir)/paludis/repositories/gentoo/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/gentoo/`:` \
$(top_srcdir)/paludis/repositories/gentoo/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/gentoo/.libs/`" \
bash $(top_srcdir)/test/run_test.sh