blob: 4d4dd69ef0514804f0768f0d48df2bc220a104de [file] [log] [blame]
sebdetdf353be2020-09-21 22:13:05 +02001#!/bin/sh
Michael Lando451a3402017-02-19 10:28:42 +02002
3CURRENT_DIR=`pwd`
4BASEDIR=$(dirname $0)
5
sebdetdf353be2020-09-21 22:13:05 +02006if [ `echo ${BASEDIR} | cut -c1-1` = "/" ]
Michael Lando451a3402017-02-19 10:28:42 +02007then
8 FULL_PATH=$BASEDIR
9else
10 FULL_PATH=$CURRENT_DIR/$BASEDIR
11fi
12
sebdetdf353be2020-09-21 22:13:05 +020013. ${FULL_PATH}/baseOperation.sh
Michael Lando451a3402017-02-19 10:28:42 +020014
15mainClass="org.openecomp.sdc.asdctool.main.ExportImportMenu"
16
17command="java $JVM_LOG_FILE -cp $JARS $mainClass import $@"
18echo $command
19
20$command
21result=$?
22
23echo "***********************************"
24echo "***** $result *********************"
25echo "***********************************"
26
27exit $result
28
29