| Index: mod_for_factory_scripts/500copyQualDb
|
| diff --git a/mod_for_factory_scripts/500copyQualDb b/mod_for_factory_scripts/500copyQualDb
|
| index cb89b3db71ab952b3f2e54f4568bdafdccca5a03..9f48039191cb91ae4408887a1445b7734282fac4 100755
|
| --- a/mod_for_factory_scripts/500copyQualDb
|
| +++ b/mod_for_factory_scripts/500copyQualDb
|
| @@ -5,16 +5,17 @@
|
| # found in the LICENSE file.
|
|
|
| TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/hardware_Components"
|
| +COMPONENTS_FILE="${TEST_DIR}/qualified_components"
|
|
|
| # If QUALDB not specified, use the one based on board name.
|
| if [ -z ${QUALDB} ]; then
|
| - QUALDB="${TEST_DIR}/qualified_components_${BOARD}*"
|
| + QUALDB="${TEST_DIR}/qualified_components_${BOARD}"
|
| fi
|
|
|
| if [ ! -z ${QUALDB} ] && [ -f ${QUALDB} ]; then
|
| # Copy the qualified component file to the image
|
| echo "Copying ${QUALDB} to the image."
|
| - cp -f ${QUALDB} ${TEST_DIR}/
|
| + cp -f ${QUALDB} ${COMPONENTS_FILE}
|
| else
|
| echo "No qualified component file found at: ${QUALDB}"
|
| fi
|
|
|