yotube-dl pyvenv.cfg fix

This commit is contained in:
James Reynolds 2022-12-01 09:09:42 -07:00 committed by Max Howell
parent 745da57c85
commit 651f9caffd

View file

@ -44,7 +44,7 @@ build:
sed -i.bak \\
-e "s|$TEA_PREFIX/python.org/v{{deps.python.org.version}}|\$TEA_PREFIX/python.org/v{{deps.python.org.version.major}}|" \\
-e 's|bin/python{{deps.python.org.version.major}}.{{deps.python.org.version.minor}}|bin/python|' \\
-e "s|{{prefix}}/libexec|\$TEA_PREFIX/youtube-dlbuild.com/v{{version}}/libexec|" \\
-e "s|{{prefix}}/libexec|\$TEA_PREFIX/youtube-dl.com/v{{version}}/libexec|" \\
\$VIRTUAL_ENV/pyvenv.cfg
rm \$VIRTUAL_ENV/pyvenv.cfg.bak
EOF