Fix find command for listing programs

This commit is contained in:
FPille
2019-08-05 21:14:55 +02:00
parent 65bf748d59
commit 9f74f306e1
+1 -1
View File
@@ -53,7 +53,7 @@ if [ "$1" == "--list-programs" ] ; then
echo ""
echo "Run \"$ARGV0\" with one of the following arguments to run the respective program."
echo ""
find . -type f -executable ! -path '*/lib/*' -execdir basename {} ";" | sort | column
find . -type f -perm /111 ! -path '*/lib/*' -execdir basename {} ";" | sort | column
echo ""
exit $?
fi