From: Kanagaraj Manickam k00365106 Date: Wed, 6 Dec 2017 07:56:18 +0000 (+0530) Subject: Migrate cli init script to use OCLIP env names X-Git-Tag: v2.0.0~35 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F25659%2F1;p=cli.git Migrate cli init script to use OCLIP env names Issue-ID: CLI-66 Change-Id: Ifbb9c4ab664639797032b9b1a9e55c9f867360c0 Signed-off-by: Kanagaraj Manickam k00365106 --- 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