summaryrefslogtreecommitdiffstats
path: root/tools/ubuntu-server-cloudimg-modify.sh
diff options
context:
space:
mode:
authorJing Lu <lvjing5@huawei.com>2017-03-13 03:52:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-13 03:52:44 +0000
commita8298ad4738a6a0b45728bb6c73b6d21bc7c4350 (patch)
treeaae4de1e550f5d6c0ffc07e87a93d27fed8b8838 /tools/ubuntu-server-cloudimg-modify.sh
parent8fe8ab2cc3b0814291cec3579aff267e042f4d6b (diff)
parent5c9de80872ba4dc66f5398f266b7bb3a6ff3f694 (diff)
Merge "Bugfix: ubuntu-server-cloudimg-modify.sh: fix grep syntax with if"
Diffstat (limited to 'tools/ubuntu-server-cloudimg-modify.sh')
-rwxr-xr-xtools/ubuntu-server-cloudimg-modify.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ubuntu-server-cloudimg-modify.sh b/tools/ubuntu-server-cloudimg-modify.sh
index ce320a205..b0b0902f5 100755
--- a/tools/ubuntu-server-cloudimg-modify.sh
+++ b/tools/ubuntu-server-cloudimg-modify.sh
@@ -24,7 +24,7 @@ if [ $# -eq 1 ]; then
fi
# iperf3 only available for trusty in backports
-if [ grep -q trusty /etc/apt/sources.list ]; then
+if grep -q trusty /etc/apt/sources.list ; then
if [ "${YARD_IMG_ARCH}" = "arm64" ]; then
echo "deb [arch=${YARD_IMG_ARCH}] http://ports.ubuntu.com/ trusty-backports main restricted universe multiverse" >> /etc/apt/sources.list
else