diff options
author | Eric Blossom | 2010-11-12 15:27:29 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-12 15:27:29 -0800 |
commit | d0bb24f6dd4c50569ea40fc41768ba35a4509415 (patch) | |
tree | 7f64bed1231e28fe733bf07d9f5db42704895ec0 | |
parent | c718ba72d78cc55e6d38cc7d8f234a83f9170fdf (diff) | |
download | gnuradio-d0bb24f6dd4c50569ea40fc41768ba35a4509415.tar.gz gnuradio-d0bb24f6dd4c50569ea40fc41768ba35a4509415.tar.bz2 gnuradio-d0bb24f6dd4c50569ea40fc41768ba35a4509415.zip |
Avoid entering duplicate directory into LTDL_LIBRARY_PATH
-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" } |