Commit 9663e611 authored by scottmg@chromium.org's avatar scottmg@chromium.org

Hopeful fix for ninja wrapper on cygwin/mingw

(ninja.bat is now ninja.exe.)

TBR=maruel@google.com


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

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