diff options
author | Jing Lu <lvjing5@huawei.com> | 2017-03-13 03:52:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-13 03:52:44 +0000 |
commit | a8298ad4738a6a0b45728bb6c73b6d21bc7c4350 (patch) | |
tree | aae4de1e550f5d6c0ffc07e87a93d27fed8b8838 /tools/ubuntu-server-cloudimg-modify.sh | |
parent | 8fe8ab2cc3b0814291cec3579aff267e042f4d6b (diff) | |
parent | 5c9de80872ba4dc66f5398f266b7bb3a6ff3f694 (diff) |
Merge "Bugfix: ubuntu-server-cloudimg-modify.sh: fix grep syntax with if"
Diffstat (limited to 'tools/ubuntu-server-cloudimg-modify.sh')
-rwxr-xr-x | tools/ubuntu-server-cloudimg-modify.sh | 2 |
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 |