mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Import changes from ruby-build v20160602
This commit is contained in:
parent
740fbe4bda
commit
3a1379cb34
1 changed files with 11 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
||||||
# -g/--debug Build a debug version
|
# -g/--debug Build a debug version
|
||||||
#
|
#
|
||||||
|
|
||||||
PYTHON_BUILD_VERSION="20160130"
|
PYTHON_BUILD_VERSION="20160602"
|
||||||
|
|
||||||
OLDIFS="$IFS"
|
OLDIFS="$IFS"
|
||||||
|
|
||||||
|
@ -1831,11 +1831,19 @@ fi
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
if [ -z "$MAKE" ]; then
|
if [ -z "$MAKE" ]; then
|
||||||
if [ "FreeBSD" = "$(uname -s)" ] && [ "$(uname -r | sed 's/[^[:digit:]].*//')" -lt 10 ]; then
|
if [ "FreeBSD" = "$(uname -s)" ]; then
|
||||||
|
# if [ $(echo $1 | sed 's/-.*$//') = "jruby" ]; then
|
||||||
|
# export MAKE="gmake"
|
||||||
|
# else
|
||||||
|
if [ "$(uname -r | sed 's/[^[:digit:]].*//')" -lt 10 ]; then
|
||||||
export MAKE="gmake"
|
export MAKE="gmake"
|
||||||
else
|
else
|
||||||
export MAKE="make"
|
export MAKE="make"
|
||||||
fi
|
fi
|
||||||
|
# fi
|
||||||
|
else
|
||||||
|
export MAKE="make"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$PYTHON_BUILD_CACHE_PATH" ] && [ -d "$PYTHON_BUILD_CACHE_PATH" ]; then
|
if [ -n "$PYTHON_BUILD_CACHE_PATH" ] && [ -d "$PYTHON_BUILD_CACHE_PATH" ]; then
|
||||||
|
|
Loading…
Reference in a new issue