mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 07:51:03 +02:00
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:
parent
0d3d84ee8b
commit
7718209c12
@ -23,7 +23,7 @@ cros_pre_pkg_preinst_wrap_old_config_scripts() {
|
||||
continue
|
||||
fi
|
||||
# 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
|
||||
fi
|
||||
w="${wdir}/${CHOST}-${w}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user