[OE-core] [RFC 1/2] os-release: add new operating system identification recipe
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Fri Dec 13 16:27:10 UTC 2013
Christopher Larson <kergoth-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
writes:
> + if eval "test -n \"\$$field\""; then
> + eval "printf \"%s=%s\n\" \"\$field\" \"\$$field\""
I think, this can be expressed without the complicated quoting as
eval val=\$$field
if test -n "$val"; then
printf '%s="%s"\n' "$field" "$val"
Enrico
More information about the Openembedded-core
mailing list