Support systems which don't have a "python" command. (#386)
Add support for finding an appropriate python command on systems which don't have "python". Try "python3" and "python2.7". Fixed #381.
This commit is contained in:
@@ -46,7 +46,7 @@ else
|
||||
needcheck=yes
|
||||
fi
|
||||
if [ -n "$needcheck" ]; then
|
||||
banner "$(python --version 2>&1), $(python3 --version 2>&1)"
|
||||
banner "Checking python source files"
|
||||
"$topdir/lib/codegen/meta/check.sh"
|
||||
touch "$tsfile" || echo no target directory
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user