From 9f74f306e1dc9a86ccedec17f34b9e4e877daee7 Mon Sep 17 00:00:00 2001 From: FPille Date: Mon, 5 Aug 2019 21:14:55 +0200 Subject: [PATCH] Fix find command for listing programs --- appimage/AppRun.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appimage/AppRun.sh b/appimage/AppRun.sh index 3942d861..81e6639f 100755 --- a/appimage/AppRun.sh +++ b/appimage/AppRun.sh @@ -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