Drop "any/" in module search; use 1.x-master
This commit is contained in:
1 parent
287e2c96ed
commit
8d2d5e37e5
9 files changed
+30
-47
No files matched your search
@@ -88,9 +88,9 @@ static jv find_lib(jq_state *jq, jv lib_name, jv lib_search_path, int use_vers_d
|
||||
|
||||
jv version_dirs;
|
||||
if (use_vers_dir) {
|
||||
version_dirs = JV_ARRAY(jv_string("any/"),
|
||||
jv_string_concat(jq_get_version_dir(jq),
|
||||
jv_string("/")));
|
||||
jv vdir = jq_get_version_dir(jq);
|
||||
assert(strchr(jv_string_value(vdir), '.') != NULL);
|
||||
version_dirs = JV_ARRAY(jv_string(""), jv_string_concat(vdir, jv_string("/")));
|
||||
} else {
|
||||
version_dirs = JV_ARRAY(jv_string(""));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user