Split packages by \n
This commit is contained in:
parent
4cb30fa836
commit
78c8a9e74e
@ -80,7 +80,7 @@ def buildPackage(
|
|||||||
}
|
}
|
||||||
|
|
||||||
packages = sh(script: "find '${destDir}' -name '*.deb' -type f", returnStdout: true)
|
packages = sh(script: "find '${destDir}' -name '*.deb' -type f", returnStdout: true)
|
||||||
.split(' ')
|
.split('\n')
|
||||||
.collect { return it.trim() }
|
.collect { return it.trim() }
|
||||||
.findAll { it != '' }
|
.findAll { it != '' }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user