Split packages by \n

This commit is contained in:
wpetit 2019-03-12 16:20:51 +01:00
parent 4cb30fa836
commit 78c8a9e74e

View File

@ -80,7 +80,7 @@ def buildPackage(
}
packages = sh(script: "find '${destDir}' -name '*.deb' -type f", returnStdout: true)
.split(' ')
.split('\n')
.collect { return it.trim() }
.findAll { it != '' }
}