From 002a6ba5725286ed69cc94fbd06b494fdd1cdf98 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 3 Aug 2015 17:51:18 -0700 Subject: [PATCH] Tweak how to get BS_OS --- bash/environment | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bash/environment b/bash/environment index 516960f..29a7cdf 100644 --- a/bash/environment +++ b/bash/environment @@ -54,9 +54,9 @@ _add-path /usr/local/go/bin _add-path ~/.bin _add-path $HOME/Library/Haskell/bin -if [[ `uname` == 'Darwin' ]]; then +if [[ $(uname) == 'Darwin' ]]; then export BS_OS='osx' -elif [[ `uname` == 'Linux' ]]; then +elif [[ $(uname) == 'Linux' ]]; then export BS_OS='linux' fi @@ -67,4 +67,3 @@ export WORKON_HOME="$HOME/.virtualenvs" if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then source /usr/local/bin/virtualenvwrapper.sh fi -