sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 1 | #!/bin/sh |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 2 | |
| 3 | ############################## |
| 4 | # Distribution Status Update 1707 |
| 5 | ############################## |
| 6 | |
| 7 | CURRENT_DIR=`pwd` |
| 8 | BASEDIR=$(dirname $0) |
| 9 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 10 | if [ `echo ${BASEDIR} | cut -c1-1` = "/" ] |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 11 | then |
| 12 | FULL_PATH=$BASEDIR |
| 13 | else |
| 14 | FULL_PATH=$CURRENT_DIR/$BASEDIR |
| 15 | fi |
| 16 | |
sebdet | df353be | 2020-09-21 22:13:05 +0200 | [diff] [blame] | 17 | . ${FULL_PATH}/baseOperation.sh |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 18 | |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 19 | mainClass="org.openecomp.sdc.asdctool.main.ArtifactUUIDFixMenu" |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 20 | |
Tal Gitelman | 51d50f0 | 2017-12-10 18:55:03 +0200 | [diff] [blame] | 21 | command="java $JVM_LOG_FILE -cp $JARS $mainClass $@" |
Michael Lando | 4d97d5f | 2017-06-17 22:40:44 +0300 | [diff] [blame] | 22 | echo $command |
| 23 | |
| 24 | $command |
| 25 | result=$? |
| 26 | |
| 27 | |
| 28 | |
| 29 | echo "***********************************" |
| 30 | echo "***** $result *********************" |
| 31 | echo "***********************************" |
| 32 | |
| 33 | exit $result |
| 34 | |
| 35 | |