From 414dc557eba3b8ea5ee5bfe088b9657489c3310c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 22 Jul 2017 15:20:10 -0400 Subject: print_cmd_summaries(): Use cmds instead of PKGLIBCMD --- 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 -- cgit v0.9.1