| OLD | NEW |
| 1 """SCons.Script | 1 """SCons.Script |
| 2 | 2 |
| 3 This file implements the main() function used by the scons script. | 3 This file implements the main() function used by the scons script. |
| 4 | 4 |
| 5 Architecturally, this *is* the scons script, and will likely only be | 5 Architecturally, this *is* the scons script, and will likely only be |
| 6 called from the external "scons" wrapper. Consequently, anything here | 6 called from the external "scons" wrapper. Consequently, anything here |
| 7 should not be, or be considered, part of the build engine. If it's | 7 should not be, or be considered, part of the build engine. If it's |
| 8 something that we expect other software to want to use, it should go in | 8 something that we expect other software to want to use, it should go in |
| 9 some other module. If it's specific to the "scons" script invocation, | 9 some other module. If it's specific to the "scons" script invocation, |
| 10 it goes here. | 10 it goes here. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 # | 27 # |
| 28 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | 28 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY |
| 29 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | 29 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| 30 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 30 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
| 31 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | 31 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
| 32 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | 32 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 33 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | 33 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 34 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 34 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 35 # | 35 # |
| 36 | 36 |
| 37 __revision__ = "src/engine/SCons/Script/__init__.py 3603 2008/10/10 05:46:45 sco
ns" | 37 __revision__ = "src/engine/SCons/Script/__init__.py 3842 2008/12/20 22:59:52 sco
ns" |
| 38 | 38 |
| 39 import time | 39 import time |
| 40 start_time = time.time() | 40 start_time = time.time() |
| 41 | 41 |
| 42 import os | 42 import os |
| 43 import string | 43 import string |
| 44 import sys | 44 import sys |
| 45 import UserList | 45 import UserList |
| 46 | 46 |
| 47 # Special chicken-and-egg handling of the "--debug=memoizer" flag: | 47 # Special chicken-and-egg handling of the "--debug=memoizer" flag: |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 # proxy that doesn't. | 399 # proxy that doesn't. |
| 400 # | 400 # |
| 401 # There's a flaw here, though, because any other $-variables on a command | 401 # There's a flaw here, though, because any other $-variables on a command |
| 402 # line will *also* be expanded, each to a null string, but that should | 402 # line will *also* be expanded, each to a null string, but that should |
| 403 # only be a problem in the unusual case where someone was passing a '$' | 403 # only be a problem in the unusual case where someone was passing a '$' |
| 404 # on a command line and *expected* the $ to get through to the shell | 404 # on a command line and *expected* the $ to get through to the shell |
| 405 # because they were calling Command() and not env.Command()... This is | 405 # because they were calling Command() and not env.Command()... This is |
| 406 # unlikely enough that we're going to leave this as is and cross that | 406 # unlikely enough that we're going to leave this as is and cross that |
| 407 # bridge if someone actually comes to it. | 407 # bridge if someone actually comes to it. |
| 408 Command = _SConscript.DefaultEnvironmentCall('Command', subst=1) | 408 Command = _SConscript.DefaultEnvironmentCall('Command', subst=1) |
| OLD | NEW |