forked from platypush/platypush
[CI/CD] Attempt to fix empty branch_dir
.
This commit is contained in:
parent
89757d4366
commit
f3f1e96ad9
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue