Skip to content

Commit

Permalink
Fix /proc/version check on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
inv2004 committed Oct 31, 2023
1 parent 9bed622 commit 398533e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimbench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ echo url
openDefaultBrowser(url)
EEE

grep -i microsoft /proc/version && { export BROWSER=wslview; }
grep -i microsoft /proc/version 2>/dev/null && { export BROWSER=wslview; } || false
./Nim/bin/nim c --cc:$CC -r complete.nim

}
Expand Down

0 comments on commit 398533e

Please sign in to comment.