forked from kiss-community/kiss
kiss: expose build queue to hooks
_build_cur holds current package number. _build_tot holds the total number of packages. Closes #222
This commit is contained in:
parent
2008f7478e
commit
d6db894cbc
2
kiss
2
kiss
@ -721,7 +721,7 @@ pkg_build_all() {
|
||||
# Finally build and create tarballs for all passed packages and
|
||||
# dependencies.
|
||||
for pkg do
|
||||
log "$pkg" "Building package ($((in+=1))/$#)"
|
||||
log "$pkg" "Building package ($((_build_cur+=1))/${_build_tot:=$#})"
|
||||
|
||||
pkg_find_version "$pkg"
|
||||
run_hook pre-extract "$pkg" "$pkg_dir/$pkg"
|
||||
|
Loading…
Reference in New Issue
Block a user