diff options
-rw-r--r-- | common/hooks/pre-pkg/03-rewrite-python-shebang.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/hooks/pre-pkg/03-rewrite-python-shebang.sh b/common/hooks/pre-pkg/03-rewrite-python-shebang.sh index cdd608f4b46..b928ec3a393 100644 --- a/common/hooks/pre-pkg/03-rewrite-python-shebang.sh +++ b/common/hooks/pre-pkg/03-rewrite-python-shebang.sh @@ -9,8 +9,10 @@ hook() { pyver=2.7;; python3.4-*) pyver=3.4;; + python3.5-*) + pyver=3.5;; *) - for i in $python_versions; do + for i in $pycompile_version $python_versions; do if [ "$pyver" ]; then warn=1 break; |