Use better expansion and parameter setting
This commit is contained in:
parent
b47a828af0
commit
a63e16efc5
1 changed files with 2 additions and 7 deletions
9
ccollect
9
ccollect
|
@ -247,13 +247,8 @@ _techo()
|
|||
{
|
||||
if [ "${LOGLEVEL}" = "a" ]
|
||||
then
|
||||
tag="${name:-}"
|
||||
if [ "${tag}" ]; then
|
||||
tag="[${tag}]"
|
||||
else
|
||||
tag=""
|
||||
fi
|
||||
"${_techof}" ${tag} "$@"
|
||||
set -- ${name:+"[${name}]"} $@
|
||||
"${_techof}" "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue