win: Fix calling lint scripts with win32 python.

This commit is contained in:
Cheng Zhao 2014-08-08 16:41:10 +08:00
parent 336908eba0
commit 724b29d6d4
3 changed files with 9 additions and 15 deletions

2
script/cpplint.py vendored
View file

@ -23,7 +23,7 @@ IGNORE_FILES = [
os.path.join('atom', 'common', 'swap_or_assign.h'),
]
SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__))
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def main():