sfx.sh: use system jinja2 when available

This commit is contained in:
ed 2021-06-07 20:09:45 +02:00
parent 89e48cff24
commit bd8c7e538a

View file

@ -47,7 +47,7 @@ grep -E '/(python|pypy)[0-9\.-]*$' >$dir/pys || true
printf '\033[1;30mlooking for jinja2 in [%s]\033[0m\n' "$_py" >&2
$_py -c 'import jinja2' 2>/dev/null || continue
printf '%s\n' "$_py"
mv $dir/{,x.}jinja2
mv $dir/{,x.}dep-j2
break
done)"