mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-15 12:37:18 +00:00
added condition to echo only with debug flag (#5845)
This commit is contained in:
parent
f862c25b40
commit
0460b63188
@ -37,7 +37,9 @@ fi
|
||||
|
||||
TABLE_INITIALIZER_MAIN_CLASS=org.openmetadata.catalog.util.TablesInitializer
|
||||
LIBS_DIR="${BOOTSTRAP_DIR}"/../libs/
|
||||
if [ ${debug} ] ; then
|
||||
echo $LIBS_DIR
|
||||
fi
|
||||
if [ -d "${LIBS_DIR}" ]; then
|
||||
for file in "${LIBS_DIR}"*.jar;
|
||||
do
|
||||
@ -48,7 +50,9 @@ else
|
||||
fi
|
||||
|
||||
execute() {
|
||||
if [ ${debug} ] ; then
|
||||
echo "Using Configuration file: ${CONFIG_FILE_PATH}"
|
||||
fi
|
||||
${JAVA} -Dbootstrap.dir=$BOOTSTRAP_DIR -cp ${CLASSPATH} ${TABLE_INITIALIZER_MAIN_CLASS} -c ${CONFIG_FILE_PATH} -s ${SCRIPT_ROOT_DIR} --${1} -${debug}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user