Skip to content

Commit 0dad06c

Browse files
committed
Build: Fix packages distributions inclusion of empty directories
This was accidentally broken in elastic#28760.
1 parent 3c3d877 commit 0dad06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/packages/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Closure commonPackageConfig(String type) {
160160
Closure copyEmptyDir = { path, u, g, mode ->
161161
File file = new File(path)
162162
into(file.parent) {
163-
from "${packagingFiles}/${path}"
163+
from "${packagingFiles}/${file.parent}"
164164
include file.name
165165
includeEmptyDirs true
166166
createDirectoryEntry true

0 commit comments

Comments
 (0)