Pack : Fix wrong iter.
This commit is contained in:
parent
7a55c8c5f4
commit
53f2474968
|
@ -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.
|
||||||
|
|
Reference in a new issue