[Rpm-maint] [rpm-software-management/rpm] Making the os_release function more strict (PR #2657)
Michal Domonkos
notifications at github.com
Wed Sep 13 07:41:21 UTC 2023
> Hmm, wouldn't `COMMAND sh -c ". /etc/os-release; echo ${var}"` achieve the same thing, by letting the shell do the work instead?
Yep, that's the "canonical" way to use `/etc/os-release`. For some reason, I didn't realize this when adding this cmake helper.
@dmikushin, feel free to update the PR to just source the file, otherwise I can do that later. Thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2657#issuecomment-1717110027
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2657/c1717110027 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230913/d9707ac3/attachment.html>
More information about the Rpm-maint
mailing list