fix bug
This commit is contained in:
parent
10bdad2f94
commit
d033132a26
|
@ -117,7 +117,7 @@ function mirror()
|
|||
|
||||
tmps=$(find ./gcr.io_mirror/ -type f \( -iname "*.tmp" \) -exec dirname {} \; | uniq | cut -d'/' -f3-4)
|
||||
|
||||
if [ -z "$tmps" ]; then
|
||||
if [ -n "$tmps[@]" ]; then
|
||||
echo -e "${red} wait for push ${tmps[@]}"
|
||||
for img in ${tmps[@]} ; do
|
||||
n=$(echo ${img}|cut -d'/' -f1)
|
||||
|
|
Loading…
Reference in New Issue