Skip to content

Commit ec78baa

Browse files
committed
ensure all missing build folder tree is created
1 parent 3ce09b8 commit ec78baa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/linux/compile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@
114114

115115
# Create directories if necessary
116116
if not os.path.exists(CEFPYTHON_BINARY):
117-
os.mkdir(CEFPYTHON_BINARY)
117+
os.makedirs(CEFPYTHON_BINARY)
118118

119119
# Check directories
120-
assert os.path.exists(CEF_BINARY)
121-
assert os.path.exists(CEFPYTHON_BINARY)
120+
assert os.path.exists(CEF_BINARY), "%s missing" % CEF_BINARY
121+
assert os.path.exists(CEFPYTHON_BINARY), "%s missing" % CEFPYTHON_BINARY
122122

123123
print("Compiling C++ projects")
124124

0 commit comments

Comments
 (0)