mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
common/hooks: fix pycompile_module with explicit python_version=2
This commit is contained in:
parent
c780b513ad
commit
5028523d43
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,8 @@ _EOF
|
|||
|
||||
if [ "$pycompile_version" = 3 ]; then
|
||||
pycompile_version=${py3_ver}
|
||||
elif [ "$pycompile_version" = 2 ]; then
|
||||
pycompile_version=${py2_ver}
|
||||
fi
|
||||
|
||||
if [ -n "${pycompile_dirs}" -o -n "${pycompile_module}" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue