Unique variable name
This commit is contained in:
parent
d13ce3fea9
commit
07381364d3
|
@ -33,7 +33,7 @@ function read_config_param {
|
||||||
|
|
||||||
if [ $CONFIGURATION_FILE ]; then
|
if [ $CONFIGURATION_FILE ]; then
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
if grep -q "${param_name}" $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}')
|
${param_name}=$(cat $CONFIGURATION_FILE | grep "${param_name}=" | head -n 1 | awk -F '=' '{print $2}')
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue