aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-19 11:26:10 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-19 11:26:10 +0200
commit7a4fc2b2d97d5c9bb9a9e22dc633def47f4c1385 (patch)
treed24d9cb4bb4cc300b43541aae3d066a723e25eee /scripts
parent58cc393c7dba864439e90a8528741e8c310a3e52 (diff)
downloadlinux-conf-perf-7a4fc2b2d97d5c9bb9a9e22dc633def47f4c1385.tar.gz
linux-conf-perf-7a4fc2b2d97d5c9bb9a9e22dc633def47f4c1385.tar.bz2
linux-conf-perf-7a4fc2b2d97d5c9bb9a9e22dc633def47f4c1385.zip
Fix error in initialize script and dedicate config for .config file
Diffstat (limited to 'scripts')
-rw-r--r--scripts/initialize.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/initialize.py b/scripts/initialize.py
index 191d8d1..aca447d 100644
--- a/scripts/initialize.py
+++ b/scripts/initialize.py
@@ -34,11 +34,11 @@ def gen_requred():
try:
os.remove(conf.required_file)
- os.remove(conf.dot_config_file)
+ os.remove(conf.dot_config_fragment_file)
except OSError:
pass
- shutil.copy(conf.linux_sources + '/.config', conf.dot_config_back_file)
+ shutil.copy(conf.linux_dot_config, conf.dot_config_back_file)
with open(conf.linux_sources + '/.config', 'r') as f:
with open(conf.required_file, 'w') as freq: