Pack : Fix wrong iter.

This commit is contained in:
Dmitry Voronin 2024-01-17 20:13:54 +03:00
parent 7a55c8c5f4
commit 53f2474968

View file

@ -26,7 +26,6 @@ function pack() {
# All targets by default. # All targets by default.
[[ "${targets}" = "" ]] && targets=(*) [[ "${targets}" = "" ]] && targets=(*)
# process.
case "${format}" in case "${format}" in
"tgz") "tgz")
_pack_tgz "${output}" "${targets[@]}" _pack_tgz "${output}" "${targets[@]}"
@ -51,8 +50,6 @@ function pack() {
return 2 return 2
;; ;;
esac esac
_iterate_targets process ${targets[@]}
} }
# Attempt to unpack. # Attempt to unpack.