|
|
|
@ -33,9 +33,9 @@ echo -n "Checking dependencies for Minio.. " |
|
|
|
|
## Check all dependencies are present |
|
|
|
|
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 |
|
|
|
|
MISSING="${MISSING} golang(1.4.0)" |
|
|
|
|
MISSING="${MISSING} golang(1.4)" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
env git --version > /dev/null 2>&1 |
|
|
|
|