diff --git a/update_depot_tools b/update_depot_tools index 95cd4c6a9..c59f4ad42 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -40,7 +40,7 @@ function test_git_svn { # Get the current SVN revision. get_svn_revision() { - echo `svn info | awk '{ if ($1 == "Revision:") { print $2 }}'` + echo `svn info "$base_dir" | awk '{ if ($1 == "Revision:") { print $2 }}'` } # Update git checkouts prior the cygwin check, we don't want to use msysgit.