We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aff8cdb commit ea36ed5Copy full SHA for ea36ed5
plugin/src/main/resources/com/nishtahir/linker-wrapper.bat
@@ -1 +1,19 @@
1
+@echo off
2
+if defined SHELL (
3
+ where /q cygpath
4
+ if ERRORLEVEL 1 (
5
+ goto WINSHELL
6
+ )
7
+ setlocal enabledelayedexpansion
8
+ for /f %%i in ('cygpath -w %SHELL%') do (
9
+ if exist "%%i" (
10
+ "%%i" -c 'RUST_ANDROID_GRADLE_CC="$(cygpath -u "$RUST_ANDROID_GRADLE_CC")";exec "$(cygpath -u "%~dp0linker-wrapper.sh")" "%*"'
11
+ exit !errorlevel!
12
13
+ exit 1
14
15
+ endlocal
16
+)
17
+:WINSHELL
18
+@echo on
19
"%RUST_ANDROID_GRADLE_PYTHON_COMMAND%" "%RUST_ANDROID_GRADLE_LINKER_WRAPPER_PY%" %*
0 commit comments