From 9663e611c4b876771e920bb2ea8e4e0e6b50a72d Mon Sep 17 00:00:00 2001 From: "scottmg@chromium.org" Date: Fri, 22 Jun 2012 17:26:42 +0000 Subject: [PATCH] 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 --- ninja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ninja b/ninja index 0b1f410d7..eda784284 100755 --- a/ninja +++ b/ninja @@ -11,9 +11,9 @@ if [ "${OS}" = "Linux" ]; then elif [ "${OS}" = "Darwin" ]; then exec ninja-mac "$@" 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 - cmd.exe //c $0.bat "$@" + cmd.exe //c $0.exe "$@" else echo "Unsupported OS ${OS}" exit 1