Skip to content

Commit d4fa181

Browse files
meteorcloudydslomov
authored andcommitted
Use getExecPathString when getting bash_main_file
Fix bazelbuild#3491 RELNOTES: None PiperOrigin-RevId: 164089270
1 parent 781b23a commit d4fa181

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/com/google/devtools/build/lib/bazel/rules/sh

src/main/java/com/google/devtools/build/lib/bazel/rules/sh/ShBinary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private static Artifact launcherForWindows(
151151
.getFragment(BazelConfiguration.class)
152152
.getShellExecutable()
153153
.getPathString());
154-
dataSize += writeLaunchInfo(launchInfo, "bash_main_file", mainFile.getRunfilesPathString());
154+
dataSize += writeLaunchInfo(launchInfo, "bash_main_file", mainFile.getExecPathString());
155155

156156
ByteBuffer buffer = ByteBuffer.allocate(Long.BYTES);
157157
// All Windows versions are little endian.

0 commit comments

Comments
 (0)