mirror of
https://github.com/minio/minio.git
synced 2024-12-27 07:35:55 -05:00
No need to check pip fixes #172
This commit is contained in:
parent
d8e0be7575
commit
2a5183ff8a
@ -20,7 +20,6 @@ _init() {
|
|||||||
GCC_VERSION="4.0"
|
GCC_VERSION="4.0"
|
||||||
YASM_VERSION="1.2.0"
|
YASM_VERSION="1.2.0"
|
||||||
GIT_VERSION="1.0"
|
GIT_VERSION="1.0"
|
||||||
PIP_VERSION="1.4"
|
|
||||||
GO_VERSION="1.4"
|
GO_VERSION="1.4"
|
||||||
OSX_VERSION="10.8"
|
OSX_VERSION="10.8"
|
||||||
UNAME=$(uname -sm)
|
UNAME=$(uname -sm)
|
||||||
@ -127,11 +126,6 @@ is_supported_arch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_deps() {
|
check_deps() {
|
||||||
check_version "$(env pip --version 2>/dev/null| awk {'print $2'})" "${PIP_VERSION}"
|
|
||||||
if [ $? -ge 2 ]; then
|
|
||||||
MISSING="pip"
|
|
||||||
fi
|
|
||||||
|
|
||||||
check_version "$(env go version 2>/dev/null | sed 's/^.* go\([0-9.]*\).*$/\1/')" "${GO_VERSION}"
|
check_version "$(env go version 2>/dev/null | sed 's/^.* go\([0-9.]*\).*$/\1/')" "${GO_VERSION}"
|
||||||
if [ $? -ge 2 ]; then
|
if [ $? -ge 2 ]; then
|
||||||
MISSING="${MISSING} golang(1.4)"
|
MISSING="${MISSING} golang(1.4)"
|
||||||
|
Loading…
Reference in New Issue
Block a user