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

Side by Side Diff: cros_workon

Issue 3142032: Fix cros_workon error complaints to be more descriptive (Closed) Base URL: ssh://gitrw.chromium.org/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 moves ebuilds between 'stable' and 'live' states. 7 # This script moves ebuilds between 'stable' and 'live' states.
8 # By default 'stable' ebuilds point at and build from source at the 8 # By default 'stable' ebuilds point at and build from source at the
9 # last known good commit. Moving an ebuild to 'live' (via cros_workon start) 9 # last known good commit. Moving an ebuild to 'live' (via cros_workon start)
10 # is intended to support development. The current source tip is fetched, 10 # is intended to support development. The current source tip is fetched,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 fi;; 224 fi;;
225 *) ;; 225 *) ;;
226 esac 226 esac
227 fi 227 fi
228 228
229 case ${WORKON_CMD} in 229 case ${WORKON_CMD} in
230 start) ebuild_to_live "${ATOM_LIST}"; regen_manifest_and_sync ;; 230 start) ebuild_to_live "${ATOM_LIST}"; regen_manifest_and_sync ;;
231 stop) ebuild_to_stable "${ATOM_LIST}" ;; 231 stop) ebuild_to_stable "${ATOM_LIST}" ;;
232 list) [ ${FLAGS_all} = "${FLAGS_FALSE}" ] && show_live_ebuilds || show_worko n_ebuilds ;; 232 list) [ ${FLAGS_all} = "${FLAGS_FALSE}" ] && show_live_ebuilds || show_worko n_ebuilds ;;
233 iterate)ebuild_iterate "${ATOM_LIST}" ;; 233 iterate)ebuild_iterate "${ATOM_LIST}" ;;
234 *) die "invalid cros_workon command" ;; 234 *) die "$(basename $0): command '${WORKON_CMD}' not recognized" ;;
235 esac 235 esac
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