From 0d622d23b8f8ad6d63589900fc65a398ab9ee344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 14 Sep 2015 10:28:24 +0200 Subject: Fix empty temporally file for config generation Generated temporally configuration file was read. --- scripts/kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3