Skip to content

Commit

Permalink
qa: make run-standalone work on FreeBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Willem Jan Withagen <[email protected]>
  • Loading branch information
wjwithagen committed Jul 26, 2017
1 parent fb9a3e9 commit ae88edd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion qa/run-standalone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit ae88edd

Please sign in to comment.