From d0209f76044d51582923daad96827777dbd0f002 Mon Sep 17 00:00:00 2001
From: Yihui Xie
Date: Fri, 26 Jan 2018 23:30:36 -0600
Subject: close #19: disable the bash chunk on the operating system that is
 only _this_ tall (even after trying to incorporating a really tall system as
 its subsystem)

---
 exampleSite/content/_index.Rmarkdown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'exampleSite/content/_index.Rmarkdown')

diff --git a/exampleSite/content/_index.Rmarkdown b/exampleSite/content/_index.Rmarkdown
index 42a2b71..0d19de2 100644
--- a/exampleSite/content/_index.Rmarkdown
+++ b/exampleSite/content/_index.Rmarkdown
@@ -10,7 +10,7 @@ title: Home
 
 **XMin** is a Hugo theme written by [Yihui Xie](https://yihui.name) in about four hours: half an hour was spent on the Hugo templates, and 3.5 hours were spent on styling. The main motivation for writing this theme was to provide a really minimal example to beginners of Hugo templates. This XMin theme contains about 130 lines of code in total, including the code in HTML templates and CSS (also counting empty lines).
 
-```{bash, comment='', echo=2, eval=Sys.which('bash') != ''}
+```{bash, comment='', echo=2, eval=Sys.which('bash') != '' && .Platform$OS.type != 'windows'}
 cd ../..;
 find . -not -path '*/exampleSite/*' \( -name '*.html' -o -name '*.css' \) | xargs wc -l
 ```
-- 
cgit 1.4.1

