| Index: win_toolchain/get_toolchain_if_necessary.py
|
| diff --git a/win_toolchain/get_toolchain_if_necessary.py b/win_toolchain/get_toolchain_if_necessary.py
|
| index 0ac500b16e85a67f877096131bcc6e1e515e353f..dbfb0eb0e29857da8eb3f9ef4bedb797f64b42f4 100755
|
| --- a/win_toolchain/get_toolchain_if_necessary.py
|
| +++ b/win_toolchain/get_toolchain_if_necessary.py
|
| @@ -130,7 +130,7 @@ def CalculateHash(root, expected_hash):
|
| path_without_hash = str(path).replace('/', '\\')
|
| if expected_hash:
|
| path_without_hash = path_without_hash.replace(
|
| - os.path.join(root, expected_hash), root)
|
| + os.path.join(root, expected_hash).replace('/', '\\'), root)
|
| digest.update(path_without_hash)
|
| with open(path, 'rb') as f:
|
| digest.update(f.read())
|
|
|