diff options
author | Eric Bidelman | 2012-07-11 10:43:37 -0700 |
---|---|---|
committer | Eric Bidelman | 2012-07-11 10:43:37 -0700 |
commit | f208307cbdd403d3fa92a1aae1dc9c094c7ec9d8 (patch) | |
tree | eb8ac9966f182313db6b11e12c2f4fd5bab070b7 /serve.sh | |
parent | d78d1c5069ecdb6723a8933dbb86f4b7a20c59e9 (diff) | |
download | io-slides-remote-f208307cbdd403d3fa92a1aae1dc9c094c7ec9d8.tar.gz |
Bringing in upstream changes
Diffstat (limited to 'serve.sh')
-rwxr-xr-x | serve.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -12,4 +12,11 @@ then | |||
12 | port=8000 | 12 | port=8000 |
13 | fi | 13 | fi |
14 | 14 | ||
15 | open http://localhost:$port/template.html && python -m SimpleHTTPServer $port; | 15 | if [ $(uname -s) == "Darwin" ] |
16 | then | ||
17 | open=open | ||
18 | else | ||
19 | open=xdg-open | ||
20 | fi | ||
21 | |||
22 | $open http://localhost:$port/template.html && python -m SimpleHTTPServer $port; | ||