We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ef3bea commit ae466c7Copy full SHA for ae466c7
SConstruct
@@ -28,13 +28,7 @@ Help(opts.GenerateHelpText(localEnv))
28
29
env = localEnv.Clone()
30
31
-submodule_initialized = False
32
-dir_name = 'godot-cpp'
33
-if os.path.isdir(dir_name):
34
- if os.listdir(dir_name):
35
- submodule_initialized = True
36
-
37
-if not submodule_initialized:
+if not (os.path.isdir("godot-cpp") and os.listdir("godot-cpp")):
38
print_error("""godot-cpp is not available within this folder, as Git submodules haven't been initialized.
39
Run the following command to download godot-cpp:
40
0 commit comments