From c088321ea88b5f4dad8a56b79d45617aa117f6c1 Mon Sep 17 00:00:00 2001 From: Dimitris Rozakis Date: Sun, 5 Jun 2016 13:01:44 +0300 Subject: [PATCH] Escape brackets in hack/install.sh Fixes #23260 Signed-off-by: Dimitris Rozakis --- hack/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install.sh b/hack/install.sh index 9870347c2d..34e7a72e93 100644 --- a/hack/install.sh +++ b/hack/install.sh @@ -429,7 +429,7 @@ do_install() { done $sh_c "apt-key adv -k ${gpg_fingerprint} >/dev/null" $sh_c "mkdir -p /etc/apt/sources.list.d" - $sh_c "echo deb [arch=$(dpkg --print-architecture)] ${apt_url}/repo ${lsb_dist}-${dist_version} ${repo} > /etc/apt/sources.list.d/docker.list" + $sh_c "echo deb \[arch=$(dpkg --print-architecture)\] ${apt_url}/repo ${lsb_dist}-${dist_version} ${repo} > /etc/apt/sources.list.d/docker.list" $sh_c 'sleep 3; apt-get update; apt-get install -y -q docker-engine' ) echo_docker_as_nonroot