Don't create symlinks for PyPy 7.3.4 (#3134)

This commit is contained in:
Mikhail Timofeev
2021-04-08 20:10:40 +03:00
committed by GitHub
parent 0da5da7f57
commit e8f899d57c

View File

@@ -56,8 +56,9 @@ function InstallPyPy
echo "Create additional symlinks (Required for UsePythonVersion Azure DevOps task)"
cd $PYPY_TOOLCACHE_VERSION_ARCH_PATH/bin
ln -s $PYPY_MAJOR $PYTHON_MAJOR
ln -s $PYTHON_MAJOR python
# Starting from PyPy 7.3.4 these links are already included in the package
[ -f ./$PYTHON_MAJOR ] || ln -s $PYPY_MAJOR $PYTHON_MAJOR
[ -f ./python ] || ln -s $PYTHON_MAJOR python
chmod +x ./python ./$PYTHON_MAJOR