git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
52d79aa
)
python: change condition check for legacy opt for Python3
author
Alexandru Ardelean
<redacted>
Mon, 9 Sep 2019 10:10:22 +0000
(13:10 +0300)
committer
Alexandru Ardelean
<redacted>
Fri, 20 Sep 2019 10:42:21 +0000
(13:42 +0300)
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 <redacted>
lang/python/python-package-install.sh
patch
|
blob
|
history
diff --git
a/lang/python/python-package-install.sh
b/lang/python/python-package-install.sh
index 2ca2abc16e13e77daf5b9848d2e493084a90d688..f2646f8487ef0d0a481823ac4ec1267e53892091 100644
(file)
--- a/
lang/python/python-package-install.sh
+++ b/
lang/python/python-package-install.sh
@@
-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
git clone https://git.99rst.org/PROJECT