gphoto2: Use :space: to identify space characters

Sometimes current sed expression does not work so use POSIX
compliant expression

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-04-18 11:34:29 -07:00
parent 63df976d8e
commit 9cf14c34c0
@@ -20,5 +20,5 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
"
do_configure:append() {
sed -i 's/--sysroot[^ "]*//g' ${B}/config.h
sed -i -E "s/--sysroot=[^'\" ]+//g" ${B}/config.h
}