mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-24 16:01:09 +02:00
Merge pull request #1902 from marineam/config-wrappers
profiles: fix config script wrappers
This commit is contained in:
commit
97d03d8371
@ -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}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user