This change (very) partially fixes https://bugs.gnu.org/45205.
* lib/py-compile: use `...` instead of $(...).
Solaris 10 /bin/sh is still in use.
filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)"
fi
-python_major=$($PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q')
+python_major=`$PYTHON -V 2>&1 | sed -e 's/.* //;s/\..*$//;1q'`
if test -z "$python_major"; then
echo "$me: could not determine $PYTHON major version, guessing 3" >&2
python_major=3