export
This commit is contained in:
parent
07381364d3
commit
c2c0fa0631
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue