Build: Fix packages distributions inclusion of empty directories
This was accidentally broken in #28760.
This commit is contained in:
parent
497b3d7a20
commit
b29ba25c86
|
@ -160,7 +160,7 @@ Closure commonPackageConfig(String type) {
|
||||||
Closure copyEmptyDir = { path, u, g, mode ->
|
Closure copyEmptyDir = { path, u, g, mode ->
|
||||||
File file = new File(path)
|
File file = new File(path)
|
||||||
into(file.parent) {
|
into(file.parent) {
|
||||||
from "${packagingFiles}/${path}"
|
from "${packagingFiles}/${file.parent}"
|
||||||
include file.name
|
include file.name
|
||||||
includeEmptyDirs true
|
includeEmptyDirs true
|
||||||
createDirectoryEntry true
|
createDirectoryEntry true
|
||||||
|
|
Loading…
Reference in New Issue