am a850a5b7: Merge "Assume the location of the out directory"

* commit 'a850a5b7ad5ad4beb13d492e4ae8fe17f427aad4':
  Assume the location of the out directory
diff --git a/scripts/micro-httpd.py b/scripts/micro-httpd.py
index 9292dab..1cffa08 100755
--- a/scripts/micro-httpd.py
+++ b/scripts/micro-httpd.py
@@ -18,10 +18,12 @@
 import SocketServer
 import os
 
+
+outdir = os.path.join(os.path.dirname(__file__), '..', 'out')
+os.chdir(outdir)
 PORT = int(os.environ.get('HTTP_PORT', 8080))
 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
 httpd = SocketServer.TCPServer(('0.0.0.0', PORT), Handler)
 httpd.allow_reuse_address = True
 print 'Serving on port %d' % PORT
 httpd.serve_forever()
-