|
|
@ -33,9 +33,9 @@ echo -n "Checking dependencies for Minio.. " |
|
|
|
## Check all dependencies are present |
|
|
|
## Check all dependencies are present |
|
|
|
MISSING="" |
|
|
|
MISSING="" |
|
|
|
|
|
|
|
|
|
|
|
check_version "$(env go version | sed 's/^.* go\([0-9.]*\).*$/\1/')" "1.4.0" |
|
|
|
check_version "$(env go version | sed 's/^.* go\([0-9.]*\).*$/\1/')" "1.4" |
|
|
|
if [ $? -ne 0 ]; then |
|
|
|
if [ $? -ne 0 ]; then |
|
|
|
MISSING="${MISSING} golang(1.4.0)" |
|
|
|
MISSING="${MISSING} golang(1.4)" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
env git --version > /dev/null 2>&1 |
|
|
|
env git --version > /dev/null 2>&1 |
|
|
|