From f3f1e96ad9028624b8afd54493677ceb0ae6626e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 26 Dec 2023 05:21:46 +0100 Subject: [PATCH] [CI/CD] Attempt to fix empty `branch_dir`. --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ade11cbf51..e8c384b57b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -572,7 +572,8 @@ steps: echo "stable\noldstable" | while read distro; do echo "main\ndev" | while read branch; do 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" mkdir -p "$dist_dir" pkg_file="$dist_dir/Packages"