Swap to building the directory tree explicitly without globs.
diff --git a/cicd/pipelines/tasks/task_updatepackages.jenkins b/cicd/pipelines/tasks/task_updatepackages.jenkins
index c0e878c..32c8b6b 100644
--- a/cicd/pipelines/tasks/task_updatepackages.jenkins
+++ b/cicd/pipelines/tasks/task_updatepackages.jenkins
@@ -56,8 +56,18 @@
}
dir('mendel') {
+ bindirs = [
+ 'source',
+ 'binary-all',
+ 'binary-arm64',
+ 'binary-armhf',
+ ]
+
+ bindirs.each {
+ sh "mkdir -p dists/unstable/core/" + it
+ }
+
sh """
- mkdir -p dists/unstable/core/{source,binary-{all,arm64,armhf}}
find pool -name *.dsc >../sources.txt
find pool -name *.deb >../packages.txt
apt-ftparchive -c ../apt-ftparchive.conf \