[CI/CD] Attempt to fix empty branch_dir.

This commit is contained in:
Fabio Manganiello 2023-12-26 05:21:46 +01:00
parent 89757d4366
commit f3f1e96ad9
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -572,7 +572,8 @@ steps:
echo "stable\noldstable" | while read distro; do echo "stable\noldstable" | while read distro; do
echo "main\ndev" | while read branch; do echo "main\ndev" | while read branch; do
branch_dir="$TMP_APT_ROOT/pool/$distro/$branch" branch_dir="$TMP_APT_ROOT/pool/$distro/$branch"
[ -d "$branch_dir" ] || continue echo "Checking pool folder: $branch_dir"
[ -d "$branch_dir" ] || mkdir -p "$branch_dir"
dist_dir="$TMP_APT_ROOT/dists/$distro/$branch/all" dist_dir="$TMP_APT_ROOT/dists/$distro/$branch/all"
mkdir -p "$dist_dir" mkdir -p "$dist_dir"
pkg_file="$dist_dir/Packages" pkg_file="$dist_dir/Packages"