Skip to content
Snippets Groups Projects
Commit 7785fd85 authored by Bob Mottram's avatar Bob Mottram
Browse files

Check config file length

parent f3a6124f
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,9 @@ function write_config_param {
if [ ! $CONFIGURATION_FILE ]; then
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
fi
if [ ${#CONFIGURATION_FILE} -eq 0 ]; then
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
fi
if [ ${#param_name} -gt 0 ]; then
if [ ${#param_value} -gt 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment