summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-01-24 08:50:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-24 08:50:35 +0000
commitd001a27936a5d55cda2d8ca0849f30a8bd1c0b3d (patch)
treea4a87d67dbb248d3ea2034adfe04dea79378df7f /build.sh
parente5d3ebef36c73a8bcbad3d0236bdb663809033ea (diff)
parent6f279a7362504418cfcc453e11b3a9c2d458a2ea (diff)
Merge "Adjust make repo"
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 5765aa11..249e6e53 100755
--- a/build.sh
+++ b/build.sh
@@ -64,7 +64,7 @@ function download_git()
function download_url()
{
rm -f $CACHE_DIR/$1.md5
- curl --connect-timeout 10 -o $CACHE_DIR/$1.md5 $2.md5 2>/dev/null
+ curl --connect-timeout 10 -o $CACHE_DIR/$1.md5 $2.md5 2>/dev/null || true
if [[ -f $CACHE_DIR/$1 ]]; then
local_md5=`md5sum $CACHE_DIR/$1 | cut -d ' ' -f 1`
repo_md5=`cat $CACHE_DIR/$1.md5 | cut -d ' ' -f 1`