diff options
author | midipix <writeonce@midipix.org> | 2018-12-16 03:52:31 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-18 20:38:39 -0500 |
commit | 62a36dfd87cef0b571cce512ec9fc9c30e05ec8a (patch) | |
tree | d7c8ae6f26994949af020451b0a6989697745148 /sofort | |
parent | 84ca86ba85ae6f789cc4cedeae82db90915e953b (diff) | |
download | sbpython3-62a36dfd87cef0b571cce512ec9fc9c30e05ec8a.tar.bz2 sbpython3-62a36dfd87cef0b571cce512ec9fc9c30e05ec8a.tar.xz |
cfgtest.sh: avoid trailing white space at end-of-line with empty variables.
Diffstat (limited to 'sofort')
-rw-r--r-- | sofort/cfgtest.sh | 4 |
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" \ |