Skip to content

Commit

Permalink
fixed uname
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed Aug 3, 2015
1 parent 1e52478 commit 5b6f774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-md-toc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ gh_toc(){
}

GH_GREP="grep -E --null-data --text -o"
if [ "$uname" = "Darwin" ]; then
if [ "`uname`" = "Darwin" ]; then
GH_GREP="grep -E --text -o"
fi

Expand Down

0 comments on commit 5b6f774

Please sign in to comment.