OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright 2008, Google Inc. | 2 # Copyright 2008, Google Inc. |
3 # All rights reserved. | 3 # All rights reserved. |
4 # | 4 # |
5 # Redistribution and use in source and binary forms, with or without | 5 # Redistribution and use in source and binary forms, with or without |
6 # modification, are permitted provided that the following conditions are | 6 # modification, are permitted provided that the following conditions are |
7 # met: | 7 # met: |
8 # | 8 # |
9 # * Redistributions of source code must retain the above copyright | 9 # * Redistributions of source code must retain the above copyright |
10 # notice, this list of conditions and the following disclaimer. | 10 # notice, this list of conditions and the following disclaimer. |
(...skipping 29 matching lines...) Expand all Loading... |
40 export PATH=${PATH/#\/bin*([^:])/} | 40 export PATH=${PATH/#\/bin*([^:])/} |
41 export PATH=${PATH//:\/bin*([^:])/} | 41 export PATH=${PATH//:\/bin*([^:])/} |
42 export PATH=${PATH/#\/usr*([^:])/} | 42 export PATH=${PATH/#\/usr*([^:])/} |
43 export PATH=${PATH//:\/usr*([^:])/} | 43 export PATH=${PATH//:\/usr*([^:])/} |
44 export PATH=${PATH/#*([^:])cygwin*([^:])/} | 44 export PATH=${PATH/#*([^:])cygwin*([^:])/} |
45 export PATH=${PATH//:*([^:])cygwin*([^:])/} | 45 export PATH=${PATH//:*([^:])cygwin*([^:])/} |
46 "${SCRIPT_DIR_ABS}/scons.bat" $* | 46 "${SCRIPT_DIR_ABS}/scons.bat" $* |
47 exit | 47 exit |
48 fi | 48 fi |
49 | 49 |
50 readonly BASE_SCRIPT="${SCRIPT_DIR_ABS}/../third_party/scons-2.0.1/script/scons" | 50 readonly BASE_SCRIPT="${SCRIPT_DIR_ABS}/../third_party/scons/scons.py" |
51 | 51 |
52 export PYTHONPATH="${SCRIPT_DIR_ABS}/../third_party/scons-2.0.1/engine" | 52 export PYTHONPATH="${SCRIPT_DIR_ABS}/../third_party/scons/scons-local" |
53 | 53 |
54 "${BASE_SCRIPT}" $* | 54 "${BASE_SCRIPT}" $* |
55 | 55 |
OLD | NEW |