Check config file length
This commit is contained in:
parent
f3a6124fe1
commit
7785fd8542
|
@ -127,6 +127,9 @@ function write_config_param {
|
||||||
if [ ! $CONFIGURATION_FILE ]; then
|
if [ ! $CONFIGURATION_FILE ]; then
|
||||||
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
|
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
|
||||||
fi
|
fi
|
||||||
|
if [ ${#CONFIGURATION_FILE} -eq 0 ]; then
|
||||||
|
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ${#param_name} -gt 0 ]; then
|
if [ ${#param_name} -gt 0 ]; then
|
||||||
if [ ${#param_value} -gt 0 ]; then
|
if [ ${#param_value} -gt 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue