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

Side by Side Diff: mod_for_factory_scripts/600customizeRelease

Issue 5219001: Clean var formatting in mod_for_factory (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: . 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 unified diff | Download patch | Annotate | Revision Log
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/suite_Factory" 7 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/suite_Factory"
8 8
9 pushd ${TEST_DIR} 1> /dev/null 9 if [ -d "${TEST_DIR}" ]; then
10 pushd "${TEST_DIR}" >/dev/null
10 11
11 # If there is a customize_$BOARD script for this board, let's run it. 12 # If there is a customize_$BOARD script for this board, let's run it.
12 # This allows adding settings for specific factories or systems. 13 # This allows adding settings for specific factories or systems.
13 CUSTOMIZE="customize_${BOARD}" 14 CUSTOMIZE="customize_${BOARD}"
14 if [ -e "${CUSTOMIZE}" ]; then 15 if [ -e "${CUSTOMIZE}" ]; then
15 echo "Running ${CUSTOMIZE}" 16 echo "Running ${CUSTOMIZE}"
16 "./${CUSTOMIZE}" 17 "./${CUSTOMIZE}"
18 fi
19
20 # We don't need the customize script anymore.
21 rm -f customize_*
22
23 popd >/dev/null
17 fi 24 fi
18
19 # We don't need the customize script anymore.
20 rm -f customize_*
21
22 popd 1> /dev/null
OLDNEW
« mod_for_factory_scripts/500populateQualDbs ('K') | « mod_for_factory_scripts/500populateQualDbs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698