python: change condition check for legacy opt for Python3
As I remember this worked. But since `set -e` is set, I am a bit paranoid about it. In the sense that it may fail if `ver` != 3. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
52d79aaeae
commit
b104c56e2b
1 changed files with 3 additions and 2 deletions
|
@ -77,8 +77,9 @@ if [ "$mode" == "sources" ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
legacy=
|
if [ "$ver" == "3" ] ; then
|
||||||
[ "$ver" == "3" ] && legacy="-b"
|
legacy="-b"
|
||||||
|
fi
|
||||||
# default max recursion is 10
|
# default max recursion is 10
|
||||||
max_recursion_level=20
|
max_recursion_level=20
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue