OLD | NEW |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright 2015 The Chromium Authors. All rights reserved. | 3 # Copyright 2015 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 set -e | 7 set -e |
8 set -x | |
9 | 8 |
10 for script in generate-*.py ; do | 9 for dir in */ ; do |
11 python "$script" | 10 cd $dir |
mattm
2017/05/03 00:55:16
cd "$dir"
| |
11 | |
12 if [ -f generate-chains.py ]; then | |
13 python generate-chains.py | |
14 | |
15 # Cleanup temporary files. | |
16 rm -rf */*.pyc | |
17 rm -rf out/ | |
18 fi | |
19 | |
20 cd .. | |
12 done | 21 done |
13 | |
14 # Cleanup temporary files. | |
15 rm -rf *.pyc | |
16 rm -rf out/ | |
OLD | NEW |