Commit 4845f0ed authored by pkasting@chromium.org's avatar pkasting@chromium.org

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
parent 7286b9c5
......@@ -17,7 +17,7 @@ OUTPUT="$(uname | grep 'MINGW')"
MINGW=$?
if [ $MINGW = 0 ]; then
base_dir="${0%\\*}"
base_dir="${0%/*}"
else
base_dir=$(dirname "$0")
if [ -L "$base_dir" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment