Permalink
Browse files

fix for running emscripten on a file in the local directory

  • Loading branch information...
1 parent f6e02c6 commit 3268d11056f2ee5544dbad295c6cbde245e1306c @kripken kripken committed Jul 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 emscripten.py
View
@@ -219,7 +219,7 @@ def main(args):
keywords, positional = parser.parse_args()
if len(positional) != 1:
raise RuntimeError('Must provide exactly one positional argument.')
- keywords.infile = positional[0]
+ keywords.infile = os.path.abspath(positional[0])
if isinstance(keywords.outfile, basestring):
keywords.outfile = open(keywords.outfile, 'w')

0 comments on commit 3268d11

Please sign in to comment.