Skip to content

Commit

Permalink
Merge pull request wildfly-extras#709 from spyrkob/temp_modules
Browse files Browse the repository at this point in the history
Remove cygwin commands from the bat script
  • Loading branch information
spyrkob authored Jun 28, 2024
2 parents 0129989 + 5c44414 commit 9f16405
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ setlocal DisableDelayedExpansion


rem $Id$
)

pushd "%DIRNAME%.."
set "RESOLVED_PROSPERO_HOME=%CD%"
Expand Down Expand Up @@ -203,7 +202,7 @@ rem Use a copy of jboss-modules to avoid locking issues when jboss-modules is up
set "TMP_JBOSS_MODULES=%PROSPERO_HOME%\jboss-modules~%RANDOM%.tmp"
rem loop while we find a non-existing filename
if exist "%TMP_JBOSS_MODULES%" goto :COPY_JBOSS_MODULES
cp "%RUNJAR%" "%TMP_JBOSS_MODULES%"
copy "%RUNJAR%" "%TMP_JBOSS_MODULES%"

rem If the -Djava.security.manager is found, enable the -secmgr and include a bogus security manager for JBoss Modules to replace
echo(!JAVA_OPTS! | findstr /r /c:"-Djava.security.manager" > nul && (
Expand Down Expand Up @@ -271,5 +270,5 @@ if "x%NOPAUSE%" == "x" pause

:END_NO_PAUSE
set EXIT_LEVEL="%errorlevel%"
if exist "%TMP_JBOSS_MODULES%" rm -rf "%TMP_JBOSS_MODULES%"
if exist "%TMP_JBOSS_MODULES%" del /Q "%TMP_JBOSS_MODULES%"
exit /b %EXIT_LEVEL%

0 comments on commit 9f16405

Please sign in to comment.