From db7fddb803791be2ebb47e2b6913f66071885264 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Thu, 29 Oct 2020 14:47:52 +0100 Subject: [PATCH] Fixes symlink broken in some situations. --- src/dodb/directed_graph.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dodb/directed_graph.cr b/src/dodb/directed_graph.cr index d0fc4c0..3d5fe4e 100644 --- a/src/dodb/directed_graph.cr +++ b/src/dodb/directed_graph.cr @@ -170,7 +170,7 @@ class DODB::DirectedGraph(V) < DODB::Indexer(V) # Roughly matches Index#file_path_index, but works if @storage_root # is an absolute path as well. private def get_cross_index_data_symlink(node : String) - "../../../../../indices/by_#{@index.name}/#{node}.json" + "../../../../indices/by_#{@index.name}/#{node}.json" end end