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" ]
|
if [ "${LOGLEVEL}" = "a" ]
|
||||||
then
|
then
|
||||||
tag="${name:-}"
|
set -- ${name:+"[${name}]"} $@
|
||||||
if [ "${tag}" ]; then
|
"${_techof}" "$@"
|
||||||
tag="[${tag}]"
|
|
||||||
else
|
|
||||||
tag=""
|
|
||||||
fi
|
|
||||||
"${_techof}" ${tag} "$@"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue