diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-07-22 15:20:10 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-07-22 15:20:10 (EDT) |
commit | 414dc557eba3b8ea5ee5bfe088b9657489c3310c (patch) | |
tree | 5d4dec999c777ab262e9f15c20598067bcc4a422 /src/cmd.sh | |
parent | 2ce96c0bab6e20620f807225d508933f4cfeb281 (diff) |
print_cmd_summaries(): Use cmds instead of PKGLIBCMD
Diffstat (limited to 'src/cmd.sh')
-rw-r--r-- | src/cmd.sh | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -56,9 +56,7 @@ print_cmd_summaries() local summary= padding="$(printf '%24s' '')" - for cmd in ${PKGLIBCMD}; do - cmd="${cmd##*/}" - cmd="${cmd%.sho}" + for cmd in ${cmds}; do if [ ${#cmd} -gt 20 ]; then printf ' %s\n%24s' "${cmd}" '' else |