From 147c85f8401846fc3c73a19da620ec37075a0846 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 4 Aug 2017 14:37:43 -0400 Subject: Use $() in install.sh Something gave me the impression that sh did not like this, but it's specified by POSIX. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index a43b81fc..4aa6acbf 100755 --- a/install.sh +++ b/install.sh @@ -23,6 +23,6 @@ arch() { pacman -S --needed neovim openssh zsh } -[ "`uname`" = 'Darwin' ] && macos && exit +[ "$(uname)" = 'Darwin' ] && macos && exit [ -f /usr/local/sbin/pkg ] && freebsd && exit [ -f /usr/bin/pacman ] && arch && exit -- cgit 1.4.1