mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 09:01:22 +00:00
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:
@@ -77,8 +77,9 @@ if [ "$mode" == "sources" ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
legacy=
|
||||
[ "$ver" == "3" ] && legacy="-b"
|
||||
if [ "$ver" == "3" ] ; then
|
||||
legacy="-b"
|
||||
fi
|
||||
# default max recursion is 10
|
||||
max_recursion_level=20
|
||||
|
||||
|
||||
Reference in New Issue
Block a user