Commit 349044f7 349044f729e5a653fd61520765cac367ddee5671 by Nicolas Perriault

fixes #88 - Can't open 'bootstrap.js' using symbolic links (@anthony-teinturier)

1 parent 6cc9c8ee
......@@ -7,7 +7,8 @@ import sys
def resolve(path):
if os.path.islink(path):
return resolve(os.readlink(path))
path = os.path.join(os.path.dirname(path), os.readlink(path))
return resolve(path)
return path
PHANTOMJS_NATIVE_ARGS = [
......