Skip to content

Commit

Permalink
Fix typo in looking up path_from_root()
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Dec 7, 2016
1 parent 267c4ee commit 8455fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -2006,7 +2006,7 @@ def path_to_system_js_libraries(library_name):
# TODO: This is unintentional due to historical reasons. Improve EGL to use HTML5 API to avoid depending on GLUT.
if library_name == 'EGL': library_files += ['library_glut.js']

elif library_name.endswith('.js') and os.path.isfile(shared.path_from_root('src', 'library_' + library_name)):
elif library_name.endswith('.js') and os.path.isfile(path_from_root('src', 'library_' + library_name)):
library_files += ['library_' + library_name]
else:
if Settings.ERROR_ON_MISSING_LIBRARIES:
Expand Down

0 comments on commit 8455fba

Please sign in to comment.