profiles: fix config script wrappers

Commit 631890b9 was completely broken and started skipping all *-config
file, not just pkg-config, because I forgot to specify the file path.
This commit is contained in:
Michael Marineau 2016-04-21 09:48:40 -07:00
parent 0d3d84ee8b
commit 7718209c12

View File

@ -23,7 +23,7 @@ cros_pre_pkg_preinst_wrap_old_config_scripts() {
continue continue
fi fi
# Skip anything that isn't a script, e.g. pkg-config # Skip anything that isn't a script, e.g. pkg-config
if ! head -n1 | egrep -q '^#!\s*/bin/(ba)?sh'; then if ! head -n1 "${D}/usr/bin/${w}" | egrep -q '^#!\s*/bin/(ba)?sh'; then
continue continue
fi fi
w="${wdir}/${CHOST}-${w}" w="${wdir}/${CHOST}-${w}"