use YAPSHAREDIR

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@509 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2002-06-03 16:13:49 +00:00
parent c5e66af5d1
commit 51a0619671

View File

@ -148,5 +148,9 @@ file_search_path(system, Dir) :-
:- dynamic_predicate(library_directory/1, logical). :- dynamic_predicate(library_directory/1, logical).
library_directory(D) :-
getenv('YAPSHAREDIR', D).
:- get_value(system_library_directory,D), assert(library_directory(D)). :- get_value(system_library_directory,D), assert(library_directory(D)).