OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2009 The Chromium OS 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 # Script to modify a keyfob-based chromeos system image for testability. | 7 # Script to modify a keyfob-based chromeos system image for testability. |
8 | 8 |
9 # Load common constants. This should be the first executable line. | 9 # Load common constants. This should be the first executable line. |
10 # The path to common.sh should be relative to your script's location. | 10 # The path to common.sh should be relative to your script's location. |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 fi | 186 fi |
187 | 187 |
188 # Let's have a look at the image just in case.. | 188 # Let's have a look at the image just in case.. |
189 if [ "${VERIFY}" = "true" ]; then | 189 if [ "${VERIFY}" = "true" ]; then |
190 pushd "${ROOT_FS_DIR}" | 190 pushd "${ROOT_FS_DIR}" |
191 bash | 191 bash |
192 popd | 192 popd |
193 fi | 193 fi |
194 | 194 |
195 cleanup | 195 cleanup |
| 196 |
| 197 print_time_elapsed |
| 198 |
196 trap - EXIT | 199 trap - EXIT |
197 | 200 |
OLD | NEW |