This commit is contained in:
Bob Mottram 2016-10-08 14:17:53 +01:00
parent 07381364d3
commit c2c0fa0631
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ function read_config_param {
if [ $CONFIGURATION_FILE ]; then
if [ -f $CONFIGURATION_FILE ]; then
if grep -q "${param_name}=" $CONFIGURATION_FILE; then
${param_name}=$(cat $CONFIGURATION_FILE | grep "${param_name}=" | head -n 1 | awk -F '=' '{print $2}')
export ${param_name}=$(cat $CONFIGURATION_FILE | grep "${param_name}=" | head -n 1 | awk -F '=' '{print $2}')
fi
fi
fi