build scripts: fix jps-bootstrap call in python/installers.cmd

GitOrigin-RevId: 201b9e9e92cd3210b27ff3a82be38a97cd272dee
This commit is contained in:
Leonid Shalupov
2023-03-13 19:41:00 +01:00
committed by intellij-monorepo-bot
parent 5206574475
commit c17313196b

View File

@@ -4,8 +4,9 @@ GOTO :CMDSCRIPT
::CMDLITERAL
set -eux
exec "$(cd "$(dirname "$0")"; pwd)/../platform/jps-bootstrap/jps-bootstrap.sh" "$@" intellij.pycharm.community.build PyCharmCommunityInstallersBuildTarget
root="$(cd "$(dirname "$0")" && cd .. && pwd)"
exec "$root/platform/jps-bootstrap/jps-bootstrap.sh" "$@" "$root" intellij.pycharm.community.build PyCharmCommunityInstallersBuildTarget
:CMDSCRIPT
call "%~dp0\..\platform\jps-bootstrap\jps-bootstrap.cmd" %* intellij.pycharm.community.build PyCharmCommunityInstallersBuildTarget
call "%~dp0\..\platform\jps-bootstrap\jps-bootstrap.cmd" %* "%~dp0\.." intellij.pycharm.community.build PyCharmCommunityInstallersBuildTarget
EXIT /B %ERRORLEVEL%