Build: Fix packages distributions inclusion of empty directories

This was accidentally broken in #28760.
This commit is contained in:
Ryan Ernst 2018-02-22 11:30:49 -08:00
parent 497b3d7a20
commit b29ba25c86
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ Closure commonPackageConfig(String type) {
Closure copyEmptyDir = { path, u, g, mode ->
File file = new File(path)
into(file.parent) {
from "${packagingFiles}/${path}"
from "${packagingFiles}/${file.parent}"
include file.name
includeEmptyDirs true
createDirectoryEntry true