Skip to content

Commit 3f2eeff

Browse files
author
David Roberts
committed
Fix to 6.8 backport of #47013
The tar.gz in 6.8 contains ML binaries for all platforms, so that check for the MacOS directory should not check the platform.
1 parent 62273d9 commit 3f2eeff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) {
249249
modulesFiles = { oss ->
250250
copySpec {
251251
eachFile {
252-
if (it.relativePath.segments[-2] == 'bin' || (platform == 'darwin' && it.relativePath.segments[-2] == 'MacOS')) {
252+
if (it.relativePath.segments[-2] == 'bin' || it.relativePath.segments[-2] == 'MacOS') {
253253
// bin files, wherever they are within modules (eg platform specific) should be executable
254254
// and MacOS is an alternative to bin on macOS
255255
it.mode = 0755

0 commit comments

Comments
 (0)