diff options
author | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-05-04 13:58:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-05-04 13:58:41 +0000 |
commit | 44e6195ed3efb07ff8faeb10027aa91e53d8738f (patch) | |
tree | d989c0b29439b8323371ce099a64f2e62721fb90 /kubernetes/uui/components | |
parent | 63e6a06f1e90af67e44b3194459ce8d4d3f853fb (diff) | |
parent | 34be248f4bee318df49f056be4fe7eccab4e4647 (diff) |
Merge "[COMMON] Fix sourced script with arguments bashism"
Diffstat (limited to 'kubernetes/uui/components')
-rw-r--r-- | kubernetes/uui/components/uui-server/resources/entrypoint/run.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/uui/components/uui-server/resources/entrypoint/run.sh b/kubernetes/uui/components/uui-server/resources/entrypoint/run.sh index f96dd74bd3..283d55b741 100644 --- a/kubernetes/uui/components/uui-server/resources/entrypoint/run.sh +++ b/kubernetes/uui/components/uui-server/resources/entrypoint/run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh {{/* # # Copyright 2016-2017 ZTE Corporation. @@ -28,7 +28,7 @@ sleep 10 echo "usecase-ui database init script start..." dbScript="$main_path/resources/bin/initDB.sh" -source $dbScript 127.0.0.1 5432 postgres uui +$dbScript 127.0.0.1 5432 postgres uui echo "usecase-ui database init script finished normally..." JAVA_PATH="$JAVA_HOME/bin/java" @@ -40,4 +40,4 @@ jar_path="$main_path/usecase-ui-server.jar" echo @jar_path@ $jar_path echo "Starting usecase-ui-server..." -$JAVA_PATH $JAVA_OPTS -classpath $jar_path -jar $jar_path $SPRING_OPTS
\ No newline at end of file +$JAVA_PATH $JAVA_OPTS -classpath $jar_path -jar $jar_path $SPRING_OPTS |