bin_library_info script

Marina Latini marina at studiostorti.com
Fri Jun 27 00:44:08 PDT 2014


Hi all,
JFYI, this is a frequent warning displayed while building master with sources updated today with git pull:

libreoffice/solenv/bin/bin_library_info.sh: line 38: popd: libreoffice: invalid argument popd: use: popd [-n] [+N | -N]

libreoffice/solenv/bin/bin_library_info.sh: line 51: popd: libreoffice: invalid argument popd: use: popd [-n] [+N | -N]

The involved functions are:
------------------------
get_config_sha()
{
    pushd ${SRCDIR?} > /dev/null
    cat ${BUILDDIR?}/config_host.mk | git hash-object --stdin
    popd ${SRCDIR?} > /dev/null
}
------------------------
and
------------------------
get_library_gbuild_sha()
{
    local module="$1"

    pushd ${SRCDIR?} > /dev/null
    if [ -d "${SRCDIR}/external/${module?}" ] ; then
        git ls-tree -d HEAD "external/${module?}" | cut -f 1 | cut -d " " -f 3
    else
        git ls-tree -d HEAD | "{module?}" | cut -f 1 | cut -d " " -f 3
    fi
    popd ${SRCDIR?} > /dev/null
}
------------------------

Have a nice day and enjoy, today is friday ;)
Marina

-- 
============================
Marina Latini         
marina at studiostorti.com


Studio Storti Srl
Viale Leonardo da Vinci, 18
36100 - Vicenza (VI)
http://www.studiostorti.com
============================


More information about the LibreOffice mailing list