From a7e0b22c1251c110a0cc0fd30baaada0731b9856 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 23 Jun 2015 09:05:47 +0200 Subject: load_config() only expands existing env. variables. --- kconfiglib.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index d6aebad..6fbd733 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -386,10 +386,10 @@ class Config(object): and sets the user value of FOO to 'n'. The C implementation works the same way. - filename: The .config file to load. $-references to environment - variables will be expanded. For scripts to work even when an - alternative build directory is used with the Linux kernel, you need - to refer to the top-level kernel directory with "$srctree". + filename: The .config file to load. $-references to existing + environment variables will be expanded. For scripts to work even when + an alternative build directory is used with the Linux kernel, you + need to refer to the top-level kernel directory with "$srctree". replace (default: True): True if the configuration should replace the old configuration; False if it should add to it.""" -- cgit v1.2.3