SCons: Silence SDL already downloaded msg with '-s'.
@@ -34,6 +34,7 @@ def download_sdl2_win32(env):
def unpack_sdl2_win32(env):
"""Unpack an SDL2 zip/tar file."""
if env.Dir('$SDL2_PATH').exists():
+ if not GetOption('silent'):
print(env.subst('SDL2 already exists at $SDL2_PATH'))
return
download_sdl2_win32(env)
