diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-20 22:39:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-20 23:00:21 -0400 |
commit | 23213bda24af601acbbea5731246a055680b48d0 (patch) | |
tree | 09fe7c18f2d5cecca569658c4968357274392769 /src/abslibre-tools/libredbdiff | |
parent | d958a33c1f0e11b770481a9188cbf75cc3bfd0a5 (diff) |
Variables inside of $((...)) don't need a $ in front of them.
These were found with the help of shellcheck.
Diffstat (limited to 'src/abslibre-tools/libredbdiff')
-rwxr-xr-x | src/abslibre-tools/libredbdiff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff index 24d285e..2617323 100755 --- a/src/abslibre-tools/libredbdiff +++ b/src/abslibre-tools/libredbdiff @@ -47,7 +47,7 @@ cmd="${0##*/}" arch_packages_tmp="/tmp/${cmd}.arch-packages" parabola_packages_tmp="/tmp/${cmd}.parabola-packages" -field_pkgname_total="$((${field_pkgname_parabola} + ${field_pkgname_arch}))" +field_pkgname_total="$((field_pkgname_parabola + field_pkgname_arch))" printf_format="%s %-${field_pkgname_parabola}s%-${field_pkgname_arch}s %s | %s\n" printf_format_noarch="%s %-${field_pkgname_total}s %s\n" |