mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 21:12:29 +00:00
Add -p0
as an option for patch if both PATCH_OPTS
and PACKAGE_PATCH_OPTS
aren't defined
This commit is contained in:
parent
35d4cd2259
commit
5b7eb42a9f
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ apply_patches() {
|
|||
local PACKAGE_PATCH_PATH="${package_var_name}_PATCH_PATH"
|
||||
local PACKAGE_PATCH_OPTS="${package_var_name}_PATCH_OPTS"
|
||||
|
||||
if [ -z "${PATCH_OPTS+defined}" ] && [ "${!PACKAGE_PATCH_OPTS+defined}" ]; then
|
||||
if [ -z "${PATCH_OPTS+defined}" ] && [ -z "${!PACKAGE_PATCH_OPTS+defined}" ]; then
|
||||
local PATCH_OPTS="-p0"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue