From 5dcb17b3a8749b3153468062da5b1cf3271e48ae Mon Sep 17 00:00:00 2001 From: Srinivasan Selvam Date: Tue, 6 Aug 2019 10:59:23 +0000 Subject: [PATCH] Optimisation kubeedge constants Signed-off-by: Srinivasan Selvam Change-Id: I9bb994d798261661e1321fd54bc28dae991594a4 --- scripts/src/kubeedge_setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/src/kubeedge_setup.sh b/scripts/src/kubeedge_setup.sh index 4d6b606..86f6bbc 100755 --- a/scripts/src/kubeedge_setup.sh +++ b/scripts/src/kubeedge_setup.sh @@ -11,6 +11,7 @@ #Constants KUBEEDGE_SRC="$GOPATH/src/github.com/kubeedge/kubeedge" KUBEEDGE_BIN="$GOPATH/src/github.com/kubeedge/kubeedge/keadm" +VERIFY_K8S="$PATH_OF_ELIOTFOLDER/scripts/verifyk8s.sh" { set +x; } > /dev/null 2>&1 @@ -119,6 +120,6 @@ else sudo chown "$(id -u)":"$(id -g)" "${HOME}/.kube/config" fi -chmod +x $PATH_OF_ELIOTFOLDER/scripts/verifyk8s.sh -source $PATH_OF_ELIOTFOLDER/scripts/verifyk8s.sh +chmod +x $VERIFY_K8S +source $VERIFY_K8S -- 2.16.6