aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-09-10 14:54:52 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-09-10 14:54:52 +0800
commit0521b615d19d8e6280f25d0ba0902b95e9777536 (patch)
tree07cd8b698a3aad38e2f0d413360d50364155bc05 /build.sh
parent5261f2cce8d70195a978232f804b478eab6cfd72 (diff)
Disable confirm when package installing
Change-Id: I7d4ebfa96c3d30f839b68cd9b6de6967e763db13 JIRA: COMPASS-39
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 dd4e7a18..058c2053 100755
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ function prepare_env()
for i in createrepo genisoimage curl; do
sudo $i --version >/dev/null 2>&1
if [[ $? -ne 0 ]]; then
- sudo apt-get install $i -y
+ sudo apt-get install -y --force-yes $i
fi
done
set -e