summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. 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)
commit414dc557eba3b8ea5ee5bfe088b9657489c3310c (patch)
tree5d4dec999c777ab262e9f15c20598067bcc4a422 /src
parent2ce96c0bab6e20620f807225d508933f4cfeb281 (diff)
print_cmd_summaries(): Use cmds instead of PKGLIBCMD
Diffstat (limited to 'src')
-rw-r--r--src/cmd.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd.sh b/src/cmd.sh
index 447221c..b5948a9 100644
--- a/src/cmd.sh
+++ b/src/cmd.sh
@@ -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