| 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
|
|
|