aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-09-12 01:27:15 +0200
committerKarel Kočí <cynerd@email.cz>2018-09-12 01:27:15 +0200
commit7e5721a127ac4968e6be92fd884f62a671322df8 (patch)
tree5de00c90163b870abb7de3027180a3885563024c /tools
parente1a1d9932921abadf17785c380a7a8f2e1f043f6 (diff)
downloadmulticonfig-master.tar.gz
multiconfig-master.tar.bz2
multiconfig-master.zip
tools/multiconfig: fix modules listingHEADmaster
Diffstat (limited to 'tools')
-rwxr-xr-xtools/multiconfig4
1 files changed, 2 insertions, 2 deletions
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
;;