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

Side by Side Diff: mod_for_factory_scripts/500populateQualDbs

Issue 5314005: Fix typo (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/hardware_Components" 7 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/hardware_Components"
8 8
9 if [ -d "${TEST_DIR}" ]; then 9 if [ -d "${TEST_DIR}" ]; then
10 pushd "${TEST_DIR}" >/dev/null 10 pushd "${TEST_DIR}" >/dev/null
11 11
12 # Remove the DB directories belonging to other boards. 12 # Remove the DB directories belonging to other boards.
13 KEEPDB="data_${BOARD}" 13 KEEPDB="data_${BOARD}"
14 ls -d data_* 2>/dev/null | grep -v "${KEEPDB}" | xargs rm -fr 14 ls -d data_* 2>/dev/null | grep -v "${KEEPDB}" | xargs rm -fr
15 15
16 # Ensure there is DB directory in x86-agz and x86-mario. 16 # Ensure there is DB directory in x86-agz and x86-mario.
17 if [ ! -d "${KEEPDB}" ] && 17 if [ ! -d "${KEEPDB}" ] &&
18 [ "${BOARD}" = "x86-agz" -o "{BOARD}" = "x86-mario" ]; then 18 [ "${BOARD}" = "x86-agz" -o "${BOARD}" = "x86-mario" ]; then
19 echo "No component DB directory found at: ${KEEPDB}" 19 echo "No component DB directory found at: ${KEEPDB}"
20 fi 20 fi
21 21
22 popd >/dev/null 22 popd >/dev/null
23 fi 23 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698