From dc26a33eac75a96207e46f52fec3b05ee1daf9d1 Mon Sep 17 00:00:00 2001 From: Ruben Buniatyan Date: Sun, 23 Jul 2023 21:13:24 +0200 Subject: [PATCH] Make symlink relative --- scripts/deployment/build-runner.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/deployment/build-runner.sh b/scripts/deployment/build-runner.sh index 9828a4ee5c7..9a12be89506 100755 --- a/scripts/deployment/build-runner.sh +++ b/scripts/deployment/build-runner.sh @@ -25,11 +25,9 @@ do cp -r configs $output_path/$rid mkdir $output_path/$rid/keystore - # A temporary symlink to support existing scripts if any + # A temporary symlink for Linux to support existing scripts if any # To be removed after a few months - if [[ $rid == win* ]]; then ext=".exe"; else ext=""; fi - - ln -s $output_path/$rid/nethermind$ext $output_path/$rid/Nethermind.Runner$ext + [[ $rid == linux* ]] && ln -s -r $output_path/$rid/nethermind $output_path/$rid/Nethermind.Runner done cd ..