From 3991ffdb967a102c1b69c83db05418b6308bb55d Mon Sep 17 00:00:00 2001 From: Eric F Crist Date: Thu, 5 May 2022 07:53:13 -0500 Subject: [PATCH] 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 --- build/build-dist.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build-dist.sh b/build/build-dist.sh index b152da1..db9f043 100755 --- a/build/build-dist.sh +++ b/build/build-dist.sh @@ -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