|
|
@ -14,11 +14,11 @@ _init() { |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Extract release string. |
|
|
|
# Extract release string. |
|
|
|
release_str=$(echo $MC_RELEASE | tr '[:upper:]' '[:lower:]') |
|
|
|
release_str=$(echo $MINIO_RELEASE | tr '[:upper:]' '[:lower:]') |
|
|
|
|
|
|
|
|
|
|
|
# Verify release string. |
|
|
|
# Verify release string. |
|
|
|
if [ -z "$release_str" ]; then |
|
|
|
if [ -z "$release_str" ]; then |
|
|
|
echo "Release string cannot be empty. Please set \`MC_RELEASE\` env variable." |
|
|
|
echo "Release string cannot be empty. Please set \`MINIO_RELEASE\` env variable." |
|
|
|
exit 1; |
|
|
|
exit 1; |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|