aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
;;