1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00
This commit is contained in:
Marcus Huewe 2014-04-03 19:05:22 +02:00
commit 91fa7c75bf

5
dist/osc.complete vendored
View File

@ -437,8 +437,9 @@ build)
done
fi
if ((count == 2)) ; then
specs=($(command ls *.spec))
builtin compgen -W "${opts[*]} ${specs[*]}" -- "${cmdline[count]}"
specs=($(command ls *.spec 2>/dev/null))
images=($(command ls *.kiwi 2>/dev/null))
builtin compgen -W "${opts[*]} ${specs[*]} ${images[*]}" -- "${cmdline[count]}"
fi
;;
branch|getpac|bco|branchco)