From 7e5721a127ac4968e6be92fd884f62a671322df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Sep 2018 01:27:15 +0200 Subject: tools/multiconfig: fix modules listing --- tools/multiconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/multiconfig b/tools/multiconfig index e65b51e..1ed47dd 100755 --- a/tools/multiconfig +++ b/tools/multiconfig @@ -26,8 +26,8 @@ for ARG in "$@"; do ;; -l|--list) cd "$MODDIR" - for MOD in $(find -maxdepth 1 -executable); do - echo "$MOD: $($MOD --description)" + for MOD in $(find -maxdepth 1 -executable -type f); do + echo "${MOD#./}: $($MOD --description)" done exit ;; -- cgit v1.2.3