aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-19 11:04:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-05-19 11:04:02 +0000
commitd411d696f820a7742da8dbd8e7f32a6104a15a1b (patch)
treecc2b0f5b6212b0893ae15f0d9791a99dca595741
parentdb572620c324c00b284de6f5f7d1cea1e23d1fcc (diff)
downloadpaludis-d411d696f820a7742da8dbd8e7f32a6104a15a1b.tar.gz
paludis-d411d696f820a7742da8dbd8e7f32a6104a15a1b.tar.xz
Don't clobber LD_LIBRARY_PATH
-rw-r--r--paludis/repositories/gems/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/repositories/gems/Makefile.am b/paludis/repositories/gems/Makefile.am
index 6864e1b..bee9bc1 100644
--- a/paludis/repositories/gems/Makefile.am
+++ b/paludis/repositories/gems/Makefile.am
@@ -125,7 +125,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/gems/`" \
+ LD_LIBRARY_PATH="`echo $$LD_LIBRARY_PATH: | sed -e 's,^:,,'`` \
+ $(top_srcdir)/paludis/repositories/gentoo/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/gems/`" \
bash $(top_srcdir)/test/run_test.sh
TESTS = yaml_TEST gems_repository_TEST cache_TEST