From: Abhijit Dasgupta Date: Thu, 21 Nov 2019 08:24:57 +0000 (+0000) Subject: Path Fix and Folder Name fix of OPCUA X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=f239fca03c305dd5f76a346cb657f9f6a889d184;hp=8c1c2bc70b32be1bc0a66ccf58ff87feb1589593;p=eliot.git Path Fix and Folder Name fix of OPCUA Modified folder name in setup.sh from opcua to opc-ua Change to scripts path before executing opc-ua method Signed-off-by: Abhijit Dasgupta Change-Id: I75d6ac403f084450572b56ff6bf4180b3ac485dc --- diff --git a/blueprints/iotgateway/scripts/setup.sh b/blueprints/iotgateway/scripts/setup.sh index 98fb8e9..4e06b3a 100755 --- a/blueprints/iotgateway/scripts/setup.sh +++ b/blueprints/iotgateway/scripts/setup.sh @@ -165,7 +165,7 @@ install_prometheus(){ install_opcua_centos(){ set -o xtrace - INSTALL_OPCUA_ATEDGE="cd eliot/blueprints/iotgateway/scripts/opcua/ && source install.sh" + INSTALL_OPCUA_ATEDGE="cd eliot/blueprints/iotgateway/scripts/opc-ua/ && source install.sh" while read line do nodeinfo="${line}" @@ -186,6 +186,8 @@ then exit 0 fi +setupPath=`pwd` + if [[ $OSPLATFORM = *CentOS* ]]; then setup_k8smaster_centos else @@ -206,6 +208,7 @@ verify_edgex # Installing OPC-UA on IOT Gateway Node +cd ${setupPath} if [[ $OSPLATFORM = *CentOS* ]]; then install_opcua_centos fi