Skip to content

Commit

Permalink
Update docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sanikolaev authored Feb 27, 2024
1 parent 740bbf3 commit 60547ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ docker_setup_env() {
LIB_MANTICORE_SECONDARY="${MCL_DIR}lib_manticore_secondary.so"
LIB_MANTICORE_KNN="${MCL_DIR}lib_manticore_knn.so"
LIB_MANTICORE_GALERA="${MCL_DIR}libgalera_manticore.so"
COLUMNAR_VERSION=$(cat /mcl.url | cut -d" " -f1 | cut -d"-" -f6 | cut -d"_" -f1)
GALERA_VERSION=$(cat /mcl.url | cut -d" " -f2 | cut -d"-" -f3 | cut -d"_" -f2)
GALERA_VERSION=$(cat /mcl_galera.url | cut -d" " -f1 | cut -d"-" -f3 | cut -d"_" -f2)
COLUMNAR_VERSION=$(cat /mcl_galera.url | cut -d" " -f2 | cut -d"-" -f6 | cut -d"_" -f1)

[ -L /usr/share/manticore/modules/lib_manticore_columnar.so ] || ln -s $LIB_MANTICORE_COLUMNAR /usr/share/manticore/modules/lib_manticore_columnar.so
[ -L /usr/share/manticore/modules/lib_manticore_secondary.so ] || ln -s $LIB_MANTICORE_SECONDARY /usr/share/manticore/modules/lib_manticore_secondary.so
Expand Down Expand Up @@ -117,7 +117,7 @@ docker_setup_env() {
exit
fi

MCL_URL=$(cat /mcl.url)
MCL_URL=$(cat /mcl_galera.url)
wget --show-progress -q -P /tmp $MCL_URL

LAST_PATH=$(pwd)
Expand Down

0 comments on commit 60547ca

Please sign in to comment.