Quote argument to readlink
This commit is contained in:
parent
8b4f752183
commit
7c2669af81
@ -441,5 +441,5 @@ function in_git_directory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function which_readlink {
|
function which_readlink {
|
||||||
readlink -f $(which $1)
|
readlink -f "$(which $1)"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user