Skip to content

Commit cea3781

Browse files
committed
Fix file permissions in the CLI's zip and tar distributions
Fixes gh-21451
1 parent d0f16d6 commit cea3781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-cli/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def configureArchive(archive) {
131131
into "lib/"
132132
}
133133
archive.from(file("src/main/content")) {
134-
eachFile { it.mode = it.directory ? 0x755 : 0x644 }
134+
eachFile { it.mode = it.directory ? 0755 : 0644 }
135135
}
136136
archive.from(file("src/main/executablecontent")) {
137-
eachFile { it.mode = 0x755 }
137+
eachFile { it.mode = 0755 }
138138
}
139139
}
140140

0 commit comments

Comments
 (0)