Skip to content

Commit

Permalink
Correct command line execution path in windows
Browse files Browse the repository at this point in the history
Updated the command line paths in the build.gradle file to reflect the correct location of the 'bal.bat' script within the distribution path on Windows.

Fixes #5266
  • Loading branch information
dsplayerX committed Mar 21, 2024
1 parent b1cd993 commit 8973f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -1099,12 +1099,12 @@ def buildAndTestStandardLibs = { distPath, stdlibTest, isStageTest, testMinorVer
if (!isStageTest) {
exec {
workingDir "${distPath}/${stdlibTest}"
commandLine 'cmd', '/c', "${distPath}/bin/bal/bal.bat init test"
commandLine 'cmd', '/c', "${distPath}/bin/bal.bat init test"
}
} else {
exec {
workingDir "${distPath}/${stdlibTest}"
commandLine 'cmd', '/c', "${distPath}/bin/bal/bal.bat clean"
commandLine 'cmd', '/c', "${distPath}/bin/bal.bat clean"
}
}
if (testMinorVersionDifference) {
Expand Down

0 comments on commit 8973f29

Please sign in to comment.