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

Unified Diff: mod_for_factory_scripts/500populateQualDbs

Issue 3111014: Populate the GBB blob files to factory image. (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mod_for_factory_scripts/510populateGbbFiles » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mod_for_factory_scripts/500populateQualDbs
diff --git a/mod_for_factory_scripts/500copyQualDb b/mod_for_factory_scripts/500populateQualDbs
similarity index 82%
rename from mod_for_factory_scripts/500copyQualDb
rename to mod_for_factory_scripts/500populateQualDbs
index 778d8dc600a3cbf5de2d722fb299ba33536f1a5d..646f36c6d278566bb1972bc1ceb4042fc46d1bea 100755
--- a/mod_for_factory_scripts/500copyQualDb
+++ b/mod_for_factory_scripts/500populateQualDbs
@@ -12,11 +12,11 @@ if [ -z ${QUALDB} ]; then
# If QUALDB not specified, check the existence of the qualified components
# belonging to the board.
QUALDB="qualified_components_${BOARD}*"
- FIRST_QUALDB=$(ls $QUALDB | head -1)
+ FIRST_QUALDB=$(ls $QUALDB 2> /dev/null | head -1)
if [ ! -z ${FIRST_QUALDB} ]; then
# Remove qualified components belonging to other boards
- ls qualified_components* | grep -v qualified_components_${BOARD} \
- | xargs rm -f
+ ls qualified_components* 2> /dev/null | grep -v \
+ qualified_components_${BOARD} | xargs rm -f
else
echo "No qualified component file found at: ${QUALDB}"
fi
« no previous file with comments | « no previous file | mod_for_factory_scripts/510populateGbbFiles » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698