1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-17 09:41:06 +03:00
Files
mariadb-columnstore-engine/mysql/queries/nightly/scripts/getConfig.sh
2016-01-06 14:08:59 -06:00

16 lines
462 B
Bash
Executable File

#!/bin/bash
section=$1
param=$2
if [ -f /usr/local/Calpont/bin/calpontConsole ]; then
/usr/local/Calpont/bin/getConfig $section $param
else
# If there's no calpontConsole, then we are running local with a single PM, probably Windows.
# Note: The "| awk" stuff below is a hack to make sygwin happy - it complains about invalid arithmetic operators
# without it.
x=`$INSTALLDIR/bin/getConfig $section $param | awk '{print $0}'`
echo $x
fi