Forgot one _lp_escape

This commit is contained in:
Étienne Deparis 2014-02-01 13:45:23 +01:00 committed by Olivier Mengué
parent edb4cb1dce
commit e2b3ad6313

View File

@ -928,7 +928,7 @@ _lp_fossil_branch()
local branch local branch
branch=$(fossil status 2>/dev/null | sed -n "s/tags:[ ]*\(\w*\)$/\1/Ip") branch=$(fossil status 2>/dev/null | sed -n "s/tags:[ ]*\(\w*\)$/\1/Ip")
if [ -n "$branch" ]; then if [ -n "$branch" ]; then
_lp_escape "$branch" echo "$branch"
else else
if fossil info &>/dev/null ; then if fossil info &>/dev/null ; then
echo "no-tag" echo "no-tag"