diff options
-rw-r--r-- | setup_guile_test_env.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_guile_test_env.in b/setup_guile_test_env.in index 23456f31d..ee7e9ea46 100644 --- a/setup_guile_test_env.in +++ b/setup_guile_test_env.in @@ -24,7 +24,7 @@ function add_local_paths(){ fi [ -n "$1" ] && prepend GUILE_LOAD_PATH "$1" [ -n "$2" ] && prepend LTDL_LIBRARY_PATH "$2/.libs" - [ -n "$3" ] && prepend LTDL_LIBRARY_PATH "$3/.libs" + [ -n "$3" -a "$2" != "$3" ] && prepend LTDL_LIBRARY_PATH "$3/.libs" [ -n "$3" ] && prepend GUILE_LOAD_PATH "$3" } |