Fix singleton variable that breaks expanding a relative file path
This commit is contained in:
parent
a2fc06df36
commit
16e3bda666
@ -948,6 +948,8 @@ absolute_file_name(File,Opts,TrueFileName) :-
|
|||||||
( is_absolute_file_name(File) ->
|
( is_absolute_file_name(File) ->
|
||||||
ActualFile = File
|
ActualFile = File
|
||||||
;
|
;
|
||||||
|
'$dir_separator'(D),
|
||||||
|
atom_codes(DA,[D]),
|
||||||
atom_concat([RelTo, DA, File], ActualFile)
|
atom_concat([RelTo, DA, File], ActualFile)
|
||||||
)
|
)
|
||||||
;
|
;
|
||||||
|
Reference in New Issue
Block a user