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

Side by Side Diff: lib/cros_workon_common.sh

Issue 3052025: cros_workon_common: fix a last minute rename :/ (Closed) Base URL: ssh://gitrw.chromium.org/crosutils
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 # Common library for functions used by workon tools. 7 # Common library for functions used by workon tools.
8 8
9 find_workon_ebuilds() { 9 find_workon_ebuilds() {
10 pushd "${BOARD_DIR}"/etc/ 1> /dev/null 10 pushd "${BOARD_DIR}"/etc/ 1> /dev/null
(...skipping 11 matching lines...) Expand all
22 22
23 # wrapper script that caches the result of find_workon_ebuilds() 23 # wrapper script that caches the result of find_workon_ebuilds()
24 show_workon_ebuilds_files() { 24 show_workon_ebuilds_files() {
25 if [ -z "${CROS_ALL_EBUILDS}" ]; then 25 if [ -z "${CROS_ALL_EBUILDS}" ]; then
26 CROS_ALL_EBUILDS=$(find_workon_ebuilds) 26 CROS_ALL_EBUILDS=$(find_workon_ebuilds)
27 fi 27 fi
28 echo "${CROS_ALL_EBUILDS}" 28 echo "${CROS_ALL_EBUILDS}"
29 } 29 }
30 30
31 show_workon_ebuilds() { 31 show_workon_ebuilds() {
32 show_workon_ebuilds_sources | \ 32 show_workon_ebuilds_files | \
33 sed -e 's/.*\/\([^/]*\)\/\([^/]*\)\/.*\.ebuild/\1\/\2/'| sort 33 sed -e 's/.*\/\([^/]*\)\/\([^/]*\)\/.*\.ebuild/\1\/\2/'| sort
34 } 34 }
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