Skip to content

Commit 5b6f774

Browse files
committed
fixed uname
1 parent 1e52478 commit 5b6f774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh-md-toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ gh_toc(){
9999
}
100100

101101
GH_GREP="grep -E --null-data --text -o"
102-
if [ "$uname" = "Darwin" ]; then
102+
if [ "`uname`" = "Darwin" ]; then
103103
GH_GREP="grep -E --text -o"
104104
fi
105105

0 commit comments

Comments
 (0)