From 8d99e40d60169141d6dff9e15076f7a16af213ad Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Fri, 1 Mar 2024 22:01:52 +0100
Subject: [PATCH] Bug fix: protect against absence of directory

We do not want a symbolic link `$tests_old_dir/Extract_component_nx_2`
to be created if directory `$tests_old_dir/Extract_component_nx_2`
does not exist.
---
 Overlap/Analysis/tests.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Overlap/Analysis/tests.json b/Overlap/Analysis/tests.json
index aebd8d28..2cf86f6b 100644
--- a/Overlap/Analysis/tests.json
+++ b/Overlap/Analysis/tests.json
@@ -35,7 +35,7 @@
 	[
 	    [
 		"ln", "-sf", "$tests_old_dir/EGr2nd15md4np3/e_overestim.txt",
-		"$tests_old_dir/Extract_component_nx_2"
+		"--target-directory=$tests_old_dir/Extract_component_nx_2"
 	    ],
 	    [
 		"$src_dir/Overlap/Analysis/plot_components.py",
-- 
GitLab