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

Unified Diff: mod_for_factory_scripts/factory_setup.sh

Issue 5168001: cros_utils: refine factory and imaging related scripts (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git@master
Patch Set: merge with latest changes Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mod_for_factory_scripts/400configAutotest ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mod_for_factory_scripts/factory_setup.sh
diff --git a/mod_for_factory_scripts/factory_setup.sh b/mod_for_factory_scripts/factory_setup.sh
index 97959eea34b118e0355f83b4ceb291cea015ebb2..df37473e4931ef0996f0d657724e184702665102 100755
--- a/mod_for_factory_scripts/factory_setup.sh
+++ b/mod_for_factory_scripts/factory_setup.sh
@@ -5,9 +5,11 @@
# found in the LICENSE file.
echo "Modifying image for factory test..."
+set -e
-for SCRIPT in \
- ${GCLIENT_ROOT}/src/scripts/mod_for_factory_scripts/[0-9][0-9][0-9]*[!$~]
+SCRIPT_BASE="${GCLIENT_ROOT}/src/scripts/mod_for_factory_scripts/"
+for SCRIPT in "${SCRIPT_BASE}"[0-9][0-9][0-9]*[!$~]
do
- ${SCRIPT}
+ echo "Apply $(basename "${SCRIPT}")..."
+ "${SCRIPT}"
done
« no previous file with comments | « mod_for_factory_scripts/400configAutotest ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698