aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/initialize.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/initialize.py b/scripts/initialize.py
index 76a78e9..146acbf 100755
--- a/scripts/initialize.py
+++ b/scripts/initialize.py
@@ -5,14 +5,13 @@ import subprocess
import shutil
import utils
+import database
from conf import conf
from conf import sf
import exceptions
import loop
import configurations
-import exceptions
-
def all():
base()
parse_kconfig()
@@ -28,6 +27,13 @@ def base():
print('Initialize base...')
try:
os.mkdir(sf(conf.build_folder))
+ except FileExistsError:
+ pass
+ try:
+ os.mkdir(sf(conf.configurations_folder))
+ except FileExistsError:
+ pass
+ try:
os.mkdir(sf(conf.log_folder))
except FileExistsError:
pass