aboutsummaryrefslogtreecommitdiff
path: root/serve.sh
diff options
context:
space:
mode:
authorEric Bidelman2012-07-11 10:43:37 -0700
committerEric Bidelman2012-07-11 10:43:37 -0700
commitf208307cbdd403d3fa92a1aae1dc9c094c7ec9d8 (patch)
treeeb8ac9966f182313db6b11e12c2f4fd5bab070b7 /serve.sh
parentd78d1c5069ecdb6723a8933dbb86f4b7a20c59e9 (diff)
downloadio-slides-remote-f208307cbdd403d3fa92a1aae1dc9c094c7ec9d8.tar.gz
Bringing in upstream changes
Diffstat (limited to 'serve.sh')
-rwxr-xr-xserve.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/serve.sh b/serve.sh
index 9663bad..f2692fe 100755
--- a/serve.sh
+++ b/serve.sh
@@ -12,4 +12,11 @@ then
12 port=8000 12 port=8000
13fi 13fi
14 14
15open http://localhost:$port/template.html && python -m SimpleHTTPServer $port; 15if [ $(uname -s) == "Darwin" ]
16then
17 open=open
18else
19 open=xdg-open
20fi
21
22$open http://localhost:$port/template.html && python -m SimpleHTTPServer $port;