On domingo, 5 de fevereiro de 2017 12:53:38 PST Cristian Ionescu-Idbohrn 
wrote:
> +       _ldconfig=$(PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH command -v
> ldconfig) || { +               echo "can't find ldconfig" >&2
> +               exit 1
> +       }
> +       LIBGIT=$($_ldconfig -p | grep libgit2\\.so\\. | awk -F. '{ print $NF
> }')

Instead of trying to find it, I'd just do:

        ldconfig 2>/dev/null || true

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to