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:
parent
a3dec9576d
commit
3991ffdb96
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user