Fixes symlink broken in some situations.

This commit is contained in:
Luka Vandervelden 2020-10-29 14:47:52 +01:00
parent 692e26e816
commit db7fddb803

View File

@ -170,7 +170,7 @@ class DODB::DirectedGraph(V) < DODB::Indexer(V)
# Roughly matches Index#file_path_index, but works if @storage_root # Roughly matches Index#file_path_index, but works if @storage_root
# is an absolute path as well. # is an absolute path as well.
private def get_cross_index_data_symlink(node : String) private def get_cross_index_data_symlink(node : String)
"../../../../../indices/by_#{@index.name}/#{node}.json" "../../../../indices/by_#{@index.name}/#{node}.json"
end end
end end