From 786556dbf9e0f4180d6d7bc6130f0bb3cfc094a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 6 Nov 2016 09:07:29 +0100 Subject: Excluding symlinks in container-shell command list. Signed-off-by: Daniel Baumann --- bin/container-shell | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/container-shell b/bin/container-shell index da91c76..9b45f72 100755 --- a/bin/container-shell +++ b/bin/container-shell @@ -63,7 +63,7 @@ Shell () echo cd "/usr/lib/${SOFTWARE}/${PROGRAM}" - echo "$(for COMMAND in about logout *; do echo ${COMMAND}; done | sort)" + find . -type f -printf "%f\n" | sort cd "${OLDPWD}" echo -- cgit v1.2.3