From ae88edd25d18daa92edd3284b65c647ed51c7eb9 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Wed, 26 Jul 2017 12:01:37 +0200 Subject: [PATCH] qa: make run-standalone work on FreeBSD Signed-off-by: Willem Jan Withagen --- qa/run-standalone.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qa/run-standalone.sh b/qa/run-standalone.sh index 6b944f2c77d7..4d3e8c7ba915 100755 --- a/qa/run-standalone.sh +++ b/qa/run-standalone.sh @@ -5,7 +5,12 @@ if [ ! -e Makefile ]; then exit 1 fi -for f in `find ../qa//standalone -executable -type f` +if [ `uname` = FreeBSD ]; then + # otherwise module prettytable will not be found + export PYTHONPATH=/usr/local/lib/python2.7/site-packages +fi + +for f in `find ../qa/standalone -perm +111 -type f` do echo '--- $f ---' PATH=$PATH:bin \ -- 2.47.3