From ca14261544f04a4ac4a61182e37c46ff487a5db9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 20 Jul 2021 15:42:18 +0300 Subject: [PATCH] kiss: fix #243 --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 0fcd43f..f336655 100755 --- a/kiss +++ b/kiss @@ -882,7 +882,7 @@ pkg_build_all() { # Finally build and create tarballs for all passed packages and # dependencies. for pkg do - log "$pkg" "Building package ($((_build_cur+=1))/${_build_tot:=$#})" + log "$pkg" "Building package ($((_build_cur+=1))/$#)" pkg_find_version_split "$pkg" @@ -890,7 +890,7 @@ pkg_build_all() { # arg2: package name # arg3: number in queue # arg4: total in queue - run_hook queue "$pkg" "$((_build_cur += 1))" "$#" + run_hook queue "$pkg" "$_build_cur" "$#" ! [ -f "$repo_dir/sources" ] || pkg_extract "$pkg"