summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/pkg b/bin/pkg
index 6817a90..0c16330 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -642,13 +642,11 @@ function wrap {
typeset arg=$2
typeset progress=$3
typeset i
- typeset -i wrapped all current
+ typeset -i all current
if [[ -n $2 ]] {
- wrapped=0
$function $2
} else {
- wrapped=1
function wrap_info {
clear_line
info "$1: "