summaryrefslogtreecommitdiffstats
path: root/build/util
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 23:26:25 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 23:26:25 +0000
commit0d32c461b3315cbcaba07f3d2d1a0ca0e852e92b (patch)
treea149ccd0285941757f1f07a3211e1c70f650d794 /build/util
parent22936ff980fcb101109fabbc804a9704296edefd (diff)
downloadchromium_src-0d32c461b3315cbcaba07f3d2d1a0ca0e852e92b.zip
chromium_src-0d32c461b3315cbcaba07f3d2d1a0ca0e852e92b.tar.gz
chromium_src-0d32c461b3315cbcaba07f3d2d1a0ca0e852e92b.tar.bz2
lastchange: use shell=True on Windows
I regressed this by refactoring some code together then splitting it again. Originally it was fixed in r18533. BUG=71016 Review URL: http://codereview.chromium.org/6265031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72897 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/util')
-rwxr-xr-xbuild/util/lastchange.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/util/lastchange.py b/build/util/lastchange.py
index 7c34fbe..c7200f1 100755
--- a/build/util/lastchange.py
+++ b/build/util/lastchange.py
@@ -60,7 +60,8 @@ def FetchSVNRevision(directory):
proc = subprocess.Popen(['svn', 'info'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
- cwd=directory)
+ cwd=directory,
+ shell=(sys.platform=='win32'))
except OSError:
# command is apparently either not installed or not executable.
return None