OLD | NEW |
1 #! /usr/bin/env python | 1 #! /usr/bin/env python |
2 # | 2 # |
3 # SCons - a Software Constructor | 3 # SCons - a Software Constructor |
4 # | 4 # |
5 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat
ion | 5 # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundat
ion |
6 # | 6 # |
7 # Permission is hereby granted, free of charge, to any person obtaining | 7 # Permission is hereby granted, free of charge, to any person obtaining |
8 # a copy of this software and associated documentation files (the | 8 # a copy of this software and associated documentation files (the |
9 # "Software"), to deal in the Software without restriction, including | 9 # "Software"), to deal in the Software without restriction, including |
10 # without limitation the rights to use, copy, modify, merge, publish, | 10 # without limitation the rights to use, copy, modify, merge, publish, |
11 # distribute, sublicense, and/or sell copies of the Software, and to | 11 # distribute, sublicense, and/or sell copies of the Software, and to |
12 # permit persons to whom the Software is furnished to do so, subject to | 12 # permit persons to whom the Software is furnished to do so, subject to |
13 # the following conditions: | 13 # the following conditions: |
14 # | 14 # |
15 # The above copyright notice and this permission notice shall be included | 15 # The above copyright notice and this permission notice shall be included |
16 # in all copies or substantial portions of the Software. | 16 # in all copies or substantial portions of the Software. |
17 # | 17 # |
18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY | 18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY |
19 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE | 19 # KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
20 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | 20 # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
21 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | 21 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
22 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | 22 # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
23 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | 23 # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
24 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 24 # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
25 # | 25 # |
26 | 26 |
27 __revision__ = "src/script/sconsign.py 3603 2008/10/10 05:46:45 scons" | 27 __revision__ = "src/script/sconsign.py 3842 2008/12/20 22:59:52 scons" |
28 | 28 |
29 __version__ = "1.1.0" | 29 __version__ = "1.2.0" |
30 | 30 |
31 __build__ = "r3603" | 31 __build__ = "r3842" |
32 | 32 |
33 __buildsys__ = "scons-dev" | 33 __buildsys__ = "scons-dev" |
34 | 34 |
35 __date__ = "2008/10/10 05:46:45" | 35 __date__ = "2008/12/20 22:59:52" |
36 | 36 |
37 __developer__ = "scons" | 37 __developer__ = "scons" |
38 | 38 |
39 import os | 39 import os |
40 import os.path | 40 import os.path |
41 import sys | 41 import sys |
42 import time | 42 import time |
43 | 43 |
44 ############################################################################## | 44 ############################################################################## |
45 # BEGIN STANDARD SCons SCRIPT HEADER | 45 # BEGIN STANDARD SCons SCRIPT HEADER |
(...skipping 447 matching lines...) Loading... |
493 for a in args: | 493 for a in args: |
494 dbm_name = whichdb.whichdb(a) | 494 dbm_name = whichdb.whichdb(a) |
495 if dbm_name: | 495 if dbm_name: |
496 Map_Module = {'SCons.dblite' : 'dblite'} | 496 Map_Module = {'SCons.dblite' : 'dblite'} |
497 dbm = my_import(dbm_name) | 497 dbm = my_import(dbm_name) |
498 Do_SConsignDB(Map_Module.get(dbm_name, dbm_name), dbm)(a) | 498 Do_SConsignDB(Map_Module.get(dbm_name, dbm_name), dbm)(a) |
499 else: | 499 else: |
500 Do_SConsignDir(a) | 500 Do_SConsignDir(a) |
501 | 501 |
502 sys.exit(0) | 502 sys.exit(0) |
OLD | NEW |