Skip to content

Commit

Permalink
Merge pull request #12 from cimnine/patch-1
Browse files Browse the repository at this point in the history
Fix bug in mac and windows detection
  • Loading branch information
Coto committed May 6, 2013
2 parents a6c226f + c1e26df commit f295739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core.sh
Expand Up @@ -17,9 +17,9 @@ shootProfile(){
KERNEL=`uname -r`
MACH=`uname -m`

if [ "{$OS}" == "windowsnt" ]; then
if [ "${OS}" == "windowsnt" ]; then
OS=windows
elif [ "{$OS}" == "darwin" ]; then
elif [ "${OS}" == "darwin" ]; then
OS=mac
else
OS=`uname`
Expand Down

0 comments on commit f295739

Please sign in to comment.