diff options
author | Karel Kočí <cynerd@email.cz> | 2015-09-14 10:28:24 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-09-14 10:36:49 +0200 |
commit | 0d622d23b8f8ad6d63589900fc65a398ab9ee344 (patch) | |
tree | c3019d6f479a1f41747e3cd05f73e059c5a70f09 /scripts | |
parent | e94207efe93141ce2d58436c56ea4271948bf148 (diff) | |
download | linux-conf-perf-0d622d23b8f8ad6d63589900fc65a398ab9ee344.tar.gz linux-conf-perf-0d622d23b8f8ad6d63589900fc65a398ab9ee344.tar.bz2 linux-conf-perf-0d622d23b8f8ad6d63589900fc65a398ab9ee344.zip |
Fix empty temporally file for config generation
Generated temporally configuration file was read.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kernel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py index 0b374c4..11dce0f 100644 --- a/scripts/kernel.py +++ b/scripts/kernel.py @@ -12,7 +12,7 @@ import utils def config(txtconfig): "Apply text configuration to kernel folder" infile = tempfile.NamedTemporaryFile() - for ln in infile: + for ln in txtconfig: infile.write(bytes(ln + '\n', sys.getdefaultencoding())) wd = os.getcwd() os.chdir(sf(conf.linux_sources)) |