From b6a570370ca08f983830df08553b254478e94090 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 6 Dec 2017 13:26:18 +0530 Subject: Migrate cli init script to use OCLIP env names Issue-ID: CLI-66 Change-Id: Ifbb9c4ab664639797032b9b1a9e55c9f867360c0 Signed-off-by: Kanagaraj Manickam k00365106 --- deployment/zip/installer/cli-init.sh | 16 ++++++++-------- 1 file 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 -- cgit 1.2.3-korg