Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/pactree3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/pactree b/contrib/pactree
index 73bece3a..6051724e 100755
--- a/contrib/pactree
+++ b/contrib/pactree
@@ -130,9 +130,10 @@ _tree(){
# Generate the spacer
spacer=""
- for each in $(seq 1 $spaces); do
+ for ((count = 0; count < spaces; count++)); do
spacer="$spacer$separator"
done
+ unset count
spacer="$spacer$branch_tip"
[ $silent -ne 1 ] && echo -e "$branch_color$spacer$leaf_color$pkg_name$provided"