fixes #88 - Can't open 'bootstrap.js' using symbolic links (@anthony-teinturier)
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -7,7 +7,8 @@ import sys | ... | @@ -7,7 +7,8 @@ import sys |
7 | 7 | ||
8 | def resolve(path): | 8 | def resolve(path): |
9 | if os.path.islink(path): | 9 | if os.path.islink(path): |
10 | return resolve(os.readlink(path)) | 10 | path = os.path.join(os.path.dirname(path), os.readlink(path)) |
11 | return resolve(path) | ||
11 | return path | 12 | return path |
12 | 13 | ||
13 | PHANTOMJS_NATIVE_ARGS = [ | 14 | PHANTOMJS_NATIVE_ARGS = [ | ... | ... |
-
Please register or sign in to post a comment