summaryrefslogtreecommitdiff
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-16 03:52:31 -0500
committermidipix <writeonce@midipix.org>2018-12-16 04:01:28 -0500
commit68a078941b33ed55621586e5f699767e565be47f (patch)
tree1902504896ce5956bc6d98ff8854de94cb5898e6 /sofort
parent238bdc5c367b4ed1218866b3bcdacbbbc4302a6a (diff)
downloadsbpython2-68a078941b33ed55621586e5f699767e565be47f.tar.bz2
sbpython2-68a078941b33ed55621586e5f699767e565be47f.tar.xz
cfgtest.sh: avoid trailing white space at end-of-line with empty variables.
Diffstat (limited to 'sofort')
-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" \