diff options
author | Andreas Schneider <asn@samba.org> | 2022-02-21 14:02:15 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2022-03-03 00:59:34 +0000 |
commit | 22eb76c6d0bfb9c6858eb0cef4211b4f833e9ae7 (patch) | |
tree | f98c22f6cc41a9257d3a18cc2a313a466c8c82ac /script/find_python.sh | |
parent | 55cd39b92cf23ccf8f7714df6d269af43855d307 (diff) | |
download | samba-22eb76c6d0bfb9c6858eb0cef4211b4f833e9ae7.tar.gz |
script: Reformat shell scripts
shfmt -f script/ | xargs shfmt -w -p -i 0 -fn
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/find_python.sh')
-rwxr-xr-x | script/find_python.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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: <installdir>" - exit 1; + exit 1 fi installdir=$1 -exit `find ${installdir} -name \*.py | wc -l` +exit $(find ${installdir} -name \*.py | wc -l) |