From 7c2669af81ff1d5bcdfebeffdb8d3695fa72af4f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 26 Aug 2016 16:36:21 -0700 Subject: [PATCH] Quote argument to readlink --- dotfiles/lib/shellenv/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/lib/shellenv/functions.sh b/dotfiles/lib/shellenv/functions.sh index 660e2acc..ef1cdc5a 100644 --- a/dotfiles/lib/shellenv/functions.sh +++ b/dotfiles/lib/shellenv/functions.sh @@ -441,5 +441,5 @@ function in_git_directory { } function which_readlink { - readlink -f $(which $1) + readlink -f "$(which $1)" }