diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2017-07-22 01:11:35 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-07-22 01:11:35 +0000 |
commit | ddfea1f7e75062a350bd5a9418562e3b5af5b6e9 (patch) | |
tree | bf139ee25415cecde142e95791edba3803b2452a /binary_search_tool/cros_pkg/create_cleanup_script.py | |
parent | 3690e025de8daaed03c4acb02d2b054e5c4c0dd5 (diff) | |
parent | 6c551e0d526de7de9d86516614d645cba6f975a6 (diff) | |
download | toolchain-utils-o-mr1-iot-preview-6.tar.gz |
Merge branch 'aosp/mirror-chromium-master' into update_utils am: 4307f4735e am: 18caef1eddandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6
am: 6c551e0d52
Change-Id: I44720cd3cd736bb61f583fb20df1c25ac9323ae0
Diffstat (limited to 'binary_search_tool/cros_pkg/create_cleanup_script.py')
-rwxr-xr-x | binary_search_tool/cros_pkg/create_cleanup_script.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binary_search_tool/cros_pkg/create_cleanup_script.py b/binary_search_tool/cros_pkg/create_cleanup_script.py index 32a1f160..ed4eab61 100755 --- a/binary_search_tool/cros_pkg/create_cleanup_script.py +++ b/binary_search_tool/cros_pkg/create_cleanup_script.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # # Copyright 2015 Google Inc. All Rights Reserved """The script to generate a cleanup script after setup.sh. @@ -90,8 +90,8 @@ def Main(argv): if options.renamed_tree: # Old build tree existed and was a real tree, so it got # renamed. Move the renamed tree back to the original tree. - out_file.write('sudo mv /build/%s.save /build/%s\n' % - (options.board, options.board)) + out_file.write('sudo mv /build/%s.save /build/%s\n' % (options.board, + options.board)) else: # Old tree existed and was already a soft link. Re-create the # original soft link. |