From 0e8436263f6d27952752cd0324439bb36c4afdc5 Mon Sep 17 00:00:00 2001 From: Qian Deng Date: Mon, 15 Apr 2019 14:32:36 +0800 Subject: [PATCH] Fix: grep https not work Add space before right braket Signed-off-by: Qian Deng --- make/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/install.sh b/make/install.sh index b01da719c..e7e94265f 100755 --- a/make/install.sh +++ b/make/install.sh @@ -192,7 +192,7 @@ docker-compose up -d protocol=http hostname=reg.mydomain.com -if [ -n "$(grep '^[^#]*https:' ./harbor.yml)"] +if [ -n "$(grep '^[^#]*https:' ./harbor.yml)" ] then protocol=https fi