1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 12:03:49 -05:00

move patches into ./share to fix the install.sh

This commit is contained in:
Yamashita Yuu
2013-05-09 00:11:52 +09:00
parent e9b0ecf021
commit f01d1d1064
29 changed files with 4 additions and 4 deletions

View File

@@ -139,8 +139,8 @@ install_package_using() {
apply_patches() {
local package_name="$1"
local patches_path="${PYTHON_BUILD_ROOT}/patches/${DEFINITION_PATH##*/}/${package_name}"
for patch in "${patches_path}"/*; do
local patches_path="${PYTHON_BUILD_ROOT}/share/python-build/patches/${DEFINITION_PATH##*/}"
for patch in "${patches_path}/${package_name}/"*; do
if [ -f "$patch" ]; then
echo "Applying ${patch##*/} to ${package_name}..." >&2
patch -p0 < "$patch"
@@ -666,7 +666,7 @@ usage() {
list_definitions() {
{ for definition in "${PYTHON_BUILD_ROOT}/share/python-build/"*; do
echo "${definition##*/}"
[ -f "${definition}" ] && echo "${definition##*/}"
done
} | sort
}