Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/trusted/validator_ragel/obtain_binutils.py

Issue 12450015: **/*.py: use /usr/bin/env to find python Base URL: https://chromium.googlesource.com/native_client/src/native_client@master
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 3 # Copyright (c) 2012 The Native Client 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 """Obtain objdump and gas binaries. 7 """Obtain objdump and gas binaries.
8 8
9 Usage: 9 Usage:
10 obtain_binutils.py <objdump> <gas> 10 obtain_binutils.py <objdump> <gas>
11 11
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 shutil.copy(os.path.join(CHECKOUT_DIR, 'binutils', 'objdump'), objdump) 73 shutil.copy(os.path.join(CHECKOUT_DIR, 'binutils', 'objdump'), objdump)
74 shutil.copy(os.path.join(CHECKOUT_DIR, 'gas', 'as-new'), gas) 74 shutil.copy(os.path.join(CHECKOUT_DIR, 'gas', 'as-new'), gas)
75 finally: 75 finally:
76 shutil.rmtree(CHECKOUT_DIR) 76 shutil.rmtree(CHECKOUT_DIR)
77 77
78 print 'ok' 78 print 'ok'
79 79
80 80
81 if __name__ == '__main__': 81 if __name__ == '__main__':
82 main() 82 main()
OLDNEW
« no previous file with comments | « src/trusted/validator_ragel/gen_dfa_test.py ('k') | src/trusted/validator_ragel/unreviewed/compare_dfa.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698