|
|
|
@ -100,7 +100,7 @@ for((i=0;i<${#FILE_NAMES[@]};i+=2));do |
|
|
|
|
BINARY="$TARGET" |
|
|
|
|
fi |
|
|
|
|
BINARY_NAME=${FILE_NAMES[$(($i+1))]} |
|
|
|
|
BINARY_URL=http://repo1.maven.org/maven2/com/google/protobuf/$TARGET/${VERSION_NUMBER}/$TARGET-${VERSION_NUMBER}-${BINARY_NAME} |
|
|
|
|
BINARY_URL=https://repo1.maven.org/maven2/com/google/protobuf/$TARGET/${VERSION_NUMBER}/$TARGET-${VERSION_NUMBER}-${BINARY_NAME} |
|
|
|
|
if ! wget ${BINARY_URL} -O ${DIR}/bin/$BINARY &> /dev/null; then |
|
|
|
|
echo "[ERROR] Failed to download ${BINARY_URL}" >&2 |
|
|
|
|
echo "[ERROR] Skipped $TARGET-${VERSION_NAME}-${ZIP_NAME}" >&2 |
|
|
|
|