Commit 1ca053b8 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain
Browse files

allow symbolic links

parent c2727304
......@@ -118,7 +118,14 @@ nth0_eqq(N, [_Head | Tail], Result) :-
executable_filename(Filename) :-
current_prolog_flag(os_argv, [_Swipl, _X, Filename | _]).
current_prolog_flag(os_argv, [_Swipl, _X, Linkname | _]),
(
read_link(Linkname, _, Filename)
->
true
;
Filename = Linkname
).
indent(Level) :-
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment