try to correct di-dist arg
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6f8096650c
commit
bc3736a5a4
@ -18,6 +18,10 @@ fi
|
|||||||
|
|
||||||
DONE=0
|
DONE=0
|
||||||
|
|
||||||
|
DIDIST="$(
|
||||||
|
echo "$UBUNTU_MIRROR_PROJECTS" | tr "," "\n" | grep -v "\-" | tr "\n" ","
|
||||||
|
)"
|
||||||
|
|
||||||
while [[ $DONE -eq 0 ]]; do
|
while [[ $DONE -eq 0 ]]; do
|
||||||
debmirror \
|
debmirror \
|
||||||
-a ${UBUNTU_MIRROR_ARCHITECTURES} \
|
-a ${UBUNTU_MIRROR_ARCHITECTURES} \
|
||||||
@ -25,7 +29,7 @@ while [[ $DONE -eq 0 ]]; do
|
|||||||
-h ${UBUNTU_MIRROR_UPSTREAM} \
|
-h ${UBUNTU_MIRROR_UPSTREAM} \
|
||||||
-d ${UBUNTU_MIRROR_PROJECTS} \
|
-d ${UBUNTU_MIRROR_PROJECTS} \
|
||||||
$SOURCEOPT \
|
$SOURCEOPT \
|
||||||
--di-dist=dists \
|
--di-dist="$DIDIST" \
|
||||||
--di-arch=arches \
|
--di-arch=arches \
|
||||||
--ignore-small-errors \
|
--ignore-small-errors \
|
||||||
-r /ubuntu \
|
-r /ubuntu \
|
||||||
|
Loading…
Reference in New Issue
Block a user