summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-06 13:26:18 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-06 13:26:18 +0530
commitb6a570370ca08f983830df08553b254478e94090 (patch)
tree7d24c7235117bc834cf901065a487b993950eeb4
parent59c06810242864556205af05049743a0f9e4eb0b (diff)
Migrate cli init script to use OCLIP env names
Issue-ID: CLI-66 Change-Id: Ifbb9c4ab664639797032b9b1a9e55c9f867360c0 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--deployment/zip/installer/cli-init.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/deployment/zip/installer/cli-init.sh b/deployment/zip/installer/cli-init.sh
index bf9f4fdd..59d078ec 100644
--- a/deployment/zip/installer/cli-init.sh
+++ b/deployment/zip/installer/cli-init.sh
@@ -16,18 +16,18 @@
# limitations under the License.
#*******************************************************************************
-export ONAP_CLI_HOME=/opt/onap/cli
-export CLI_PRODUCT_VERSION=onap-amsterdam
+export OPEN_CLI_HOME=/opt/oclip
+export OPEN_CLI_PRODUCT_IN_USE=open-cli
-cd $ONAP_CLI_HOME
+cd $OPEN_CLI_HOME
if [ ! -d ./data ]; then mkdir ./data; fi
-if [ ! -d ./onap-cli-schema ]; then mkdir ./onap-cli-schema; fi
+if [ ! -d ./open-cli-schema ]; then mkdir ./open-cli-schema; fi
-chmod +x ./bin/onap.sh
+chmod +x ./bin/oclip.sh
-#Make onap available in path
-ln ./bin/onap.sh /usr/bin/onap
+#Make oclip available in path
+ln ./bin/oclip.sh /usr/bin/oclip
#Print the version
-onap -v \ No newline at end of file
+oclip -v \ No newline at end of file