summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <curtis@hopper.com>2017-08-04 14:37:43 -0400
committerJune McEnroe <curtis@hopper.com>2017-08-04 14:37:43 -0400
commit147c85f8401846fc3c73a19da620ec37075a0846 (patch)
tree3121e71f70cb8aa3dbd0cf11940488a36305a9a2
parentCreate Code Tarmak 3 layout (diff)
downloadsrc-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-xinstall.sh2
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