scons: exit with proper return code indicating an error if we are missing required dependencies

This commit is contained in:
Dane Springmeyer 2009-03-09 05:00:46 +00:00
parent ed695f6aae
commit 0e8b0a0668

View file

@ -671,7 +671,7 @@ if not preconfigured:
color_print(4,"\nTo view available path variables:\n $ python scons/scons.py --help or -h")
color_print(4,'\nTo view overall SCons help options:\n $ python scons/scons.py --help-options or -H\n')
color_print(4,'More info: http://trac.mapnik.org/wiki/MapnikInstallation')
Exit(0)
Exit(1)
else:
# Save the custom variables in a SCONS_LOCAL_CONFIG
# that will be reloaded to allow for `install` without re-specifying custom variables