| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 | 2 |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 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 echo "Modifying image for factory test..." | 7 echo "Modifying image for factory test..." |
| 8 set -e | 8 set -e |
| 9 | 9 |
| 10 SCRIPT_BASE="${GCLIENT_ROOT}/src/scripts/mod_for_factory_scripts/" | 10 SCRIPT_BASE="${GCLIENT_ROOT}/src/scripts/mod_for_factory_scripts/" |
| 11 for SCRIPT in "${SCRIPT_BASE}"[0-9][0-9][0-9]*[!$~] | 11 for SCRIPT in "${SCRIPT_BASE}"[0-9][0-9][0-9]*[!$~] |
| 12 do | 12 do |
| 13 echo "Apply $(basename "${SCRIPT}")..." | 13 echo "Apply $(basename "${SCRIPT}")..." |
| 14 "${SCRIPT}" | 14 bash -e "${SCRIPT}" |
| 15 done | 15 done |
| OLD | NEW |