diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-08 17:39:14 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-08 17:39:14 -0700 |
commit | 0177244ae791541e65c4ccfe201df21a7b748fc8 (patch) | |
tree | 1afb741caab2e72d827db1bbee17cf6143b27538 /tools/shared.py | |
parent | 252869f1624d58c90bcc9748464b3034dbc566da (diff) |
root path fixes
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 4b68555a..a9d7a05a 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -1,8 +1,8 @@ import shutil, time, os from subprocess import Popen, PIPE, STDOUT +rootpath = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) def path_from_root(*pathelems): - rootpath = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) return os.path.join(rootpath, *pathelems) CONFIG_FILE = os.path.expanduser('~/.emscripten') |