Commit 93437b8a authored by eric's avatar eric

Make start script work on OS X as well

when launched from Finder, the PWD needs to be set
parent 27ef1e9f
#! /usr/bin/env bash
python -m SimpleHTTPServer
# http://stackoverflow.com/questions/59895/can-a-bash-script-tell-what-directory-its-stored-in
DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $DIR
python -m SimpleHTTPServer
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment