Fix slash direction: paths in msysgit use /, not \.
BUG=none
TEST=update_depot_tools actually works in msysgit
Review URL: https://codereview.chromium.org/1208053003
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295866 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/update_depot_tools b/update_depot_tools
index 12b51ed..bd20609 100755
--- a/update_depot_tools
+++ b/update_depot_tools
@@ -17,7 +17,7 @@
MINGW=$?
if [ $MINGW = 0 ]; then
- base_dir="${0%\\*}"
+ base_dir="${0%/*}"
else
base_dir=$(dirname "$0")
if [ -L "$base_dir" ]; then