Fix symlink command on Linux
This commit is contained in:
parent
cefab517a5
commit
172396583f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user