fix $() escape

This commit is contained in:
Andrejus
2020-02-26 16:41:00 +00:00
parent 7bf22b00e8
commit 7955558654
3 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ readonly installer="$dotfiles_dir/$INSTALLER"
echo "using installer: $installer"
# Ensure git is installed
if ! [ -x $(command -v git) ]; then
if ! [ -x "$(command -v git)" ]; then
echo "installing git..."
sudo apt-get update -qqy
sudo apt-get install git -qqy