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

Side by Side Diff: bin/cros_overlay_list

Issue 3084012: Move overlay_list to bin/cros_overlay_list. (Closed) Base URL: ssh://git@chromiumos-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 unified diff | Download patch
« 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 # This script generates the list of board overlays and variants. 7 # This script generates the list of board overlays and variants.
8 8
9 # Load common constants. This should be the first executable line. 9 # Load common constants. This should be the first executable line.
10 # The path to common.sh should be relative to your script's location. 10 # The path to common.sh should be relative to your script's location.
11 . "$(dirname "$0")/common.sh" 11 . "$(dirname "$0")/../common.sh"
12 12
13 get_default_board 13 get_default_board
14 14
15 # Flags 15 # Flags
16 DEFINE_string board "$DEFAULT_BOARD" "The name of the board to set up." 16 DEFINE_string board "$DEFAULT_BOARD" "The name of the board to set up."
17 DEFINE_string board_overlay "" "Location of the board overlay." 17 DEFINE_string board_overlay "" "Location of the board overlay."
18 DEFINE_string variant "" "Board variant." 18 DEFINE_string variant "" "Board variant."
19 19
20 # Parse command line flags 20 # Parse command line flags
21 FLAGS "$@" || exit 1 21 FLAGS "$@" || exit 1
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 fi 87 fi
88 fi 88 fi
89 fi 89 fi
90 90
91 # 91 #
92 # Finally, add in any user requested board overlays. 92 # Finally, add in any user requested board overlays.
93 # 93 #
94 if [ -d "${FLAGS_board_overlay}" ] ; then 94 if [ -d "${FLAGS_board_overlay}" ] ; then
95 echo "${FLAGS_board_overlay}" 95 echo "${FLAGS_board_overlay}"
96 fi 96 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