aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-08-08 00:59:21 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-08 00:59:21 +0000
commit7ce3e9a65ceff4e0057106f6814fc3fdf9bc547d (patch)
tree7d1a9f5757d06b5649b1c5ac854a8063ba386a82
parent91f842e364052841202738674631127cdc468c51 (diff)
parent8755b66cdacee534b3b1ad9d29848058208871b6 (diff)
Merge "make_pip_repo bug fix"
-rwxr-xr-xbuild/make_repo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/make_repo.sh b/build/make_repo.sh
index 940b2cea..f38da7ff 100755
--- a/build/make_repo.sh
+++ b/build/make_repo.sh
@@ -220,17 +220,17 @@ function _try_fetch_dependency()
;;
*)
echo "'$1' cannot be extract()"
- return -1
+ return
;;
esac
else
echo "'$1' is not a valid file"
- return -1
+ return
fi
if [ ! -f ${dir_name}/requirements.txt ]; then
echo "${dir_name}/requirements.txt does not exist"
- return -1
+ return
fi
pip install --download=$2 -r ${dir_name}/requirements.txt