aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kernel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel.py b/scripts/kernel.py
index d989f8a..8bc147d 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -16,7 +16,7 @@ def config(txtconfig):
wd = os.getcwd()
os.chdir(sf(conf.linux_sources))
try:
- utils.callsubprocess('write_config', [sf(conf.write_config), infile],
+ utils.callsubprocess('write_config', [sf(conf.write_config), infile.name],
conf.kernel_config_output, env=utils.get_kernel_env())
except exceptions.ProcessFailed:
raise exceptions.ConfigurationError("some configs mismatch")