Fix #1593: bootstrap_storage.sh not working (#1594)

This commit is contained in:
Sriharsha Chintalapani 2021-12-06 21:01:30 -08:00 committed by GitHub
parent 31353afc24
commit 2ef91fff27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,8 +36,9 @@ fi
TABLE_INITIALIZER_MAIN_CLASS=org.openmetadata.catalog.util.TablesInitializer TABLE_INITIALIZER_MAIN_CLASS=org.openmetadata.catalog.util.TablesInitializer
LIBS_DIR="${BOOTSTRAP_DIR}"/../libs/ LIBS_DIR="${BOOTSTRAP_DIR}"/../libs/
echo $LIBS_DIR
if [ -d "${LIBS_DIR}" ]; then if [ -d "${LIBS_DIR}" ]; then
for file in "${LIB_DIR}"*.jar; for file in "${LIBS_DIR}"*.jar;
do do
CLASSPATH="$CLASSPATH":"$file" CLASSPATH="$CLASSPATH":"$file"
done done