diff options
author | Rob Savoye | 2010-11-29 18:18:18 -0700 |
---|---|---|
committer | Rob Savoye | 2010-11-29 18:18:18 -0700 |
commit | 329c5da374781e5cd2e93e89de12bdf7fb71f979 (patch) | |
tree | 424fe45843bcab3de1580c6882fd333a36322cfe /gr-run-waveform/xyzzy-load.c | |
parent | b36c97ef1ea06ffc014f08286047ad71d4193ad3 (diff) | |
download | gnuradio-329c5da374781e5cd2e93e89de12bdf7fb71f979.tar.gz gnuradio-329c5da374781e5cd2e93e89de12bdf7fb71f979.tar.bz2 gnuradio-329c5da374781e5cd2e93e89de12bdf7fb71f979.zip |
get the current value of %load-path
Diffstat (limited to 'gr-run-waveform/xyzzy-load.c')
-rw-r--r-- | gr-run-waveform/xyzzy-load.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-run-waveform/xyzzy-load.c b/gr-run-waveform/xyzzy-load.c index 85b94ceee..35a40ae3b 100644 --- a/gr-run-waveform/xyzzy-load.c +++ b/gr-run-waveform/xyzzy-load.c @@ -368,8 +368,8 @@ SCM_DEFINE (scm_xyzzy_sys_search_load_path, "%xyzzy-search-load-path", 1, 0, 0, "will try each extension automatically.") #define FUNC_NAME s_scm_xyzzy_sys_search_load_path { - // SCM path = scm_list_4("/usr/share/guile/1.8/", "/usr/share/guile/site", "/usr/share/guile/1.8", "/usr/share/guile"); //scm_c_lookup("%load-path")); - SCM path = SCM_EOL; + SCM loadpath = scm_c_lookup("%load-path"); + SCM path = scm_variable_ref(loadpath); SCM exts = *scm_loc_load_extensions; SCM_VALIDATE_STRING (1, filename); |