1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-05 16:15:50 +03:00

redirect stdout to null on ldconfig commands

This commit is contained in:
david hill
2017-05-09 13:33:29 -05:00
parent 04bdb60fff
commit 8e258fccf3
2 changed files with 3 additions and 3 deletions

View File

@@ -41,8 +41,8 @@ if [ $installdir != "/usr/local/mariadb/columnstore" ]; then
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$installdir/lib
else
# add library config file
/bin/cp -f $installdir/bin/columnstore.conf /etc/ld.so.conf.d/.
ldconfig
/bin/cp -f $installdir/bin/columnstore.conf /etc/ld.so.conf.d/. >/dev/null 2>&1
ldconfig >/dev/null 2>&1
fi
#check 64-bit OS compatiable

View File

@@ -80,7 +80,7 @@ for arg in "$@"; do
done
if [ $USER != "root" ]; then
sudo ldconfig
sudo ldconfig >/dev/null 2>&1
export COLUMNSTORE_INSTALL_DIR=$installdir
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COLUMNSTORE_INSTALL_DIR/lib:$COLUMNSTORE_INSTALL_DIR/mysql/lib/mysql
else