diff options
Diffstat (limited to 'lib/functions.sh')
-rw-r--r-- | lib/functions.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/functions.sh b/lib/functions.sh index f8e679f..f9aab58 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -25,8 +25,7 @@ _example.unpack() { } _tag.unpack() { - local _tag - printf -v _tag "%s" "${1%%:$'\n'*}" + local _tag="${1%%:$'\n'*}" (( ${#_tag} < ${#1} )) || return 1 printf "%s" "$_tag" } |