Index: third_party/binutils/download.py |
diff --git a/third_party/binutils/download.py b/third_party/binutils/download.py |
index 5baf7cf6b9813e4000b826e7a9308e6ee99e18ee..2891c822457e6c4d89d57ab272b316f28a54d011 100755 |
--- a/third_party/binutils/download.py |
+++ b/third_party/binutils/download.py |
@@ -64,7 +64,9 @@ def main(args): |
stampfile = tarball + '.stamp' |
if os.path.exists(stampfile): |
- if checksum == ReadFile(stampfile): |
+ if (os.path.exists(tarball) and |
+ os.path.exists(outdir) and |
+ checksum == ReadFile(stampfile)): |
return 0 |
else: |
os.unlink(stampfile) |