Fix symlink command on Linux

This commit is contained in:
Michael Campagnaro 2024-06-19 13:35:38 -04:00
parent cefab517a5
commit 172396583f

View File

@ -375,6 +375,8 @@ make_link() {
if [[ $dest_has_space -eq 1 ]]; then cmd_dest_path="\"$cmd_dest_path\""; fi
link_cmd="cmd //c 'mklink $cmd_dest_path $cmd_source_path'"
else
cmd_source_path="$final_src"
cmd_dest_path="$final_dest"
if [[ $source_has_space -eq 1 ]]; then cmd_source_path="\"$cmd_source_path\""; fi
if [[ $dest_has_space -eq 1 ]]; then cmd_dest_path="\"$cmd_dest_path\""; fi
link_cmd="ln -sf $cmd_source_path $cmd_dest_path"