1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/script/find_python.sh
Andreas Schneider 22eb76c6d0 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>
2022-03-03 00:59:34 +00:00

10 lines
131 B
Bash
Executable File

#!/bin/sh
if [ $# -lt 1 ]; then
echo "$0: <installdir>"
exit 1
fi
installdir=$1
exit $(find ${installdir} -name \*.py | wc -l)