From 185162179355053c621e369205714047290cbbd1 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Tue, 13 Apr 2021 10:17:01 +0200 Subject: [PATCH] common: make y2c.py work on FreeBSD 1) make reference to python3 indepedant of explicit path 2) add required py-yaml module to install list fixes: #40731 Signed-off-by: Willem Jan Withagen --- install-deps.sh | 1 + src/common/options/y2c.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index b7cd826639c..1ce53084e85 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -294,6 +294,7 @@ if [ x$(uname)x = xFreeBSDx ]; then devel/py-argparse \ devel/py-nose \ devel/py-prettytable \ + devel/py-yaml \ www/py-routes \ www/py-flask \ www/node \ diff --git a/src/common/options/y2c.py b/src/common/options/y2c.py index eebfa05a83e..34e2593864e 100755 --- a/src/common/options/y2c.py +++ b/src/common/options/y2c.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import yaml import argparse -- 2.39.5