call python3 instead of python in build-dist

Not all the places I want to build the distribution symlink python to
the python3 binary (namely macOS) so just call python3 directly.

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
Eric F Crist 2022-05-05 07:53:13 -05:00
parent a3dec9576d
commit 3991ffdb96
No known key found for this signature in database
GPG Key ID: 72964219390D0D0E

View File

@ -104,7 +104,7 @@ stage_win() {
# FreeBSD does not accept -i without argument in a way also acceptable by GNU sed
sed -i.tmp -e "s/~~~/$VERSION/" "$SRC_ROOT/$f" || die "Cannot update easyrsa version"
rm -f "$SRC_ROOT/$f.tmp"
python -m markdown "$SRC_ROOT/$f" > "$DIST_ROOT/$win/$PV/${f%.md}.html" || die "Failed to convert markdown to HTML"
python3 -m markdown "$SRC_ROOT/$f" > "$DIST_ROOT/$win/$PV/${f%.md}.html" || die "Failed to convert markdown to HTML"
done
# Copy files into $PV, starting with easyrsa3 as the initial root dir