blob: bd8f51a40beecb339f739b6d8e02b56768b45150 [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 export-as-graph-ml $@"
18echo $command
19
20$command
21result=$?
22
23echo "***********************************"
24echo "***** $result *********************"
25echo "***********************************"
26
27exit $result
28
29