1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

fix the sudo calls by root user

This commit is contained in:
David Hill
2016-12-07 00:27:48 +00:00
parent fe7e8005da
commit 43a4e08621
5 changed files with 79 additions and 79 deletions

View File

@ -78,12 +78,12 @@ for arg in "$@"; do
fi
done
#run to make sure library paths are setup
sudo ldconfig
if [ $installdir != "/usr/local/mariadb/columnstore" ]; then
sudo ldconfig
export COLUMNSTORE_INSTALL_DIR=$installdir
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COLUMNSTORE_INSTALL_DIR/lib:$COLUMNSTORE_INSTALL_DIR/mysql/lib/mysql
else
ldconfig
fi
if [ -f $installdir/lib/libcalmysql.so.1.0.0 ]; then