diff options
author | June McEnroe <curtis@hopper.com> | 2017-08-04 14:37:43 -0400 |
---|---|---|
committer | June McEnroe <curtis@hopper.com> | 2017-08-04 14:37:43 -0400 |
commit | 147c85f8401846fc3c73a19da620ec37075a0846 (patch) | |
tree | 3121e71f70cb8aa3dbd0cf11940488a36305a9a2 | |
parent | Create Code Tarmak 3 layout (diff) | |
download | src-147c85f8401846fc3c73a19da620ec37075a0846.tar.gz src-147c85f8401846fc3c73a19da620ec37075a0846.zip |
Use $() in install.sh
Something gave me the impression that sh did not like this, but it's specified by POSIX.
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |