Commit 8aeb18fb authored by rsleevi@chromium.org's avatar rsleevi@chromium.org

Support Ninja being invoked from MinGW shells

BUG=none
TEST=it works

Review URL: https://chromiumcodereview.appspot.com/10310053

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@135873 0039d316-1c4b-4281-b951-d872f2087c98
parent 82c8c210
......@@ -12,6 +12,8 @@ elif [ "${OS}" = "Darwin" ]; then
exec ninja-mac "$@"
elif [[ ${OS} == CYGWIN* ]]; then
exec cmd.exe /c `cygpath -t windows $0`.bat "$@"
elif [[ ${OS} == MINGW32* ]]; then
cmd.exe //c $0.bat "$@"
else
echo "Unsupported OS ${OS}"
exit 1
......
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