Fix variables getting overriden by /etc/os-release

2013-08-26 Thread Per Øyvind Karlsen
The follow patch fixes /etc/os-release being sourced right into same
environment as the configure script runs in, meaning that any existing
variables with same names as found in /etc/os-release gets overriden.

This patch sources /etc/os-release and prints the $ID variable in a
sub-shell in order to avoid this problem.


rpm-5.4.13-dont-override-existing-variables-with-etc-os-release.patch
Description: Binary data


Re: Fix variables getting overriden by /etc/os-release

2013-08-26 Thread Jeffrey Johnson
*shrug* applied

The entire idea that one can specify a vendor reliably
in a file for access portably by AutoCrap is naive.

73 de Jeff
On Aug 26, 2013, at 5:27 PM, Per Øyvind Karlsen wrote:

 The follow patch fixes /etc/os-release being sourced right into same 
 environment as the configure script runs in, meaning that any existing 
 variables with same names as found in /etc/os-release gets overriden.
 
 This patch sources /etc/os-release and prints the $ID variable in a sub-shell 
 in order to avoid this problem.
 rpm-5.4.13-dont-override-existing-variables-with-etc-os-release.patch

__
RPM Package Managerhttp://rpm5.org
Developer Communication Listrpm-devel@rpm5.org