summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sofort/cfgtest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/sofort/cfgtest.sh b/sofort/cfgtest.sh
index a0dcc64..bd661c0 100644
--- a/sofort/cfgtest.sh
+++ b/sofort/cfgtest.sh
@@ -57,7 +57,9 @@ cfgtest_makevar_append()
mb_internal_str='+='
for mb_internal_arg ; do
- mb_internal_str="$mb_internal_str $mb_internal_arg"
+ if ! [ -z "$mb_internal_arg" ]; then
+ mb_internal_str="$mb_internal_str $mb_internal_arg"
+ fi
done
printf '%-24s%s\n' "$mb_cfgtest_makevar" "$mb_internal_str" \