mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
A full restructure
This commit is contained in:
+22
-1
@@ -1,5 +1,26 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo -n "Checking if proper environment variables are set.. "
|
||||
|
||||
echo ${GOROOT:?} 2>&1 >/dev/null
|
||||
if [ $? -eq 1 ]; then
|
||||
echo "ERROR"
|
||||
echo "GOROOT environment variable missing, please refer to Go installation document"
|
||||
echo "https://github.com/Minio-io/minio/blob/master/BUILDDEPS.md#install-go-13"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ${GOPATH:?} 2>&1 >/dev/null
|
||||
if [ $? -eq 1 ]; then
|
||||
echo "ERROR"
|
||||
echo "GOPATH environment variable missing, please refer to Go installation document"
|
||||
echo "https://github.com/Minio-io/minio/blob/master/BUILDDEPS.md#install-go-13"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Done"
|
||||
echo "Using GOPATH=${GOPATH} and GOROOT=${GOROOT}"
|
||||
|
||||
echo -n "Checking dependencies for Minio.. "
|
||||
|
||||
## Check all dependencies are present
|
||||
@@ -28,4 +49,4 @@ if [ "x${MISSING}" != "x" ]; then
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
echo "SUCCESS"
|
||||
echo "Done"
|
||||
|
||||
Reference in New Issue
Block a user