]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common: make y2c.py work on FreeBSD
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 13 Apr 2021 08:17:01 +0000 (10:17 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 13 Apr 2021 08:17:01 +0000 (10:17 +0200)
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 <wjw@digiware.nl>
install-deps.sh
src/common/options/y2c.py

index b7cd826639cb521d1d1db9e30e8318d49bec5410..1ce53084e851af9d4b3be0c795774e20a71900f0 100755 (executable)
@@ -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 \
index eebfa05a83e3c20904922d0836d7ed33ead885b5..34e2593864e380b1b4aee1ad4f650510d9bcf5bd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import yaml
 import argparse