summaryrefslogtreecommitdiffstats
path: root/script/find_python.sh
blob: 5ef8368b5ebbfa308e4b15b9e987f4ff73e2deaf (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ $# -lt 1 ]; then
	echo "$0: <installdir>"
	exit 1
fi

installdir=$1
exit $(find ${installdir} -name \*.py | wc -l)