try to correct di-dist arg
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jeffrey Paul 2020-02-16 08:11:34 -08:00
parent 6f8096650c
commit bc3736a5a4
1 changed files with 5 additions and 1 deletions

View File

@ -18,6 +18,10 @@ fi
DONE=0
DIDIST="$(
echo "$UBUNTU_MIRROR_PROJECTS" | tr "," "\n" | grep -v "\-" | tr "\n" ","
)"
while [[ $DONE -eq 0 ]]; do
debmirror \
-a ${UBUNTU_MIRROR_ARCHITECTURES} \
@ -25,7 +29,7 @@ while [[ $DONE -eq 0 ]]; do
-h ${UBUNTU_MIRROR_UPSTREAM} \
-d ${UBUNTU_MIRROR_PROJECTS} \
$SOURCEOPT \
--di-dist=dists \
--di-dist="$DIDIST" \
--di-arch=arches \
--ignore-small-errors \
-r /ubuntu \