Merge pull request #1883 from marineam/pkg-config

profiles: do not wrap pkg-config as a legacy library config script
This commit is contained in:
Michael Marineau 2016-04-11 13:18:34 -07:00
commit c452802a4f

View File

@ -18,6 +18,14 @@ cros_pre_pkg_preinst_wrap_old_config_scripts() {
local c w
for w in ${wrappers} ; do
# $CHOST-$CHOST-foo-config isn't helpful
if [[ ${w} == ${CHOST}-* ]]; then
continue
fi
# Skip anything that isn't a script, e.g. pkg-config
if ! head -n1 | egrep -q '^#!\s*/bin/(ba)?sh'; then
continue
fi
w="${wdir}/${CHOST}-${w}"
c="${CROS_ADDONS_TREE}/scripts/config_wrapper"
if [[ ! -e ${w} ]] ; then