From 22eb76c6d0bfb9c6858eb0cef4211b4f833e9ae7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 21 Feb 2022 14:02:15 +0100 Subject: script: Reformat shell scripts shfmt -f script/ | xargs shfmt -w -p -i 0 -fn Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- script/find_python.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/find_python.sh') diff --git a/script/find_python.sh b/script/find_python.sh index e9afdbda999..5ef8368b5eb 100755 --- a/script/find_python.sh +++ b/script/find_python.sh @@ -2,8 +2,8 @@ if [ $# -lt 1 ]; then echo "$0: " - exit 1; + exit 1 fi installdir=$1 -exit `find ${installdir} -name \*.py | wc -l` +exit $(find ${installdir} -name \*.py | wc -l) -- cgit v1.2.1