blob: c11cdef8f8fe61c6c99408385506a1e49e7399d0 [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/bash
2
3##############################
4# Data Migration
5##############################
6
7CURRENT_DIR=`pwd`
8BASEDIR=$(dirname $0)
9
10if [ ${BASEDIR:0:1} = "/" ]
11then
12 FULL_PATH=$BASEDIR
13else
14 FULL_PATH=$CURRENT_DIR/$BASEDIR
15fi
16
17source ${FULL_PATH}/baseOperation.sh
18
19mainClass="org.openecomp.sdc.asdctool.main.MigrationMenu"
20
21command="java $JVM_LOG_FILE -cp $JARS $mainClass clean-csar $@"
22echo $command
23
24$command
25result=$?
26
27echo "***********************************"
28echo "***** $result *********************"
29echo "***********************************"
30
31exit $result
32
33