mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
cros_workon: fix comments/messages to be consistent with new location
cros_workon has move to /usr/bin/ BUG=11507 TEST=none Change-Id: I7301f659900713c432104ccceb3e658218e0ecac Review URL: http://codereview.chromium.org/6334137
This commit is contained in:
parent
ad3f059401
commit
93da99be03
@ -133,7 +133,7 @@ _autotest_complete() {
|
|||||||
# TODO(petkov): Currently, this assumes that the command is the first
|
# TODO(petkov): Currently, this assumes that the command is the first
|
||||||
# argument. In practice, the command is the first non-flag
|
# argument. In practice, the command is the first non-flag
|
||||||
# argument. I.e., this should be fixed to support something like
|
# argument. I.e., this should be fixed to support something like
|
||||||
# "./cros_workon --all list".
|
# "cros_workon --all list".
|
||||||
_complete_cros_workon_command() {
|
_complete_cros_workon_command() {
|
||||||
[ ${COMP_CWORD} -eq 1 ] || return 1
|
[ ${COMP_CWORD} -eq 1 ] || return 1
|
||||||
local command="${COMP_WORDS[1]}"
|
local command="${COMP_WORDS[1]}"
|
||||||
|
@ -71,7 +71,7 @@ workpath=
|
|||||||
if ! pkgfile=$("${EQUERYCMD}" which "${workon_name}" 2> /dev/null); then
|
if ! pkgfile=$("${EQUERYCMD}" which "${workon_name}" 2> /dev/null); then
|
||||||
if ACCEPT_KEYWORDS="~${BOARD_KEYWORD}" "${EQUERYCMD}" which "${workon_name}" \
|
if ACCEPT_KEYWORDS="~${BOARD_KEYWORD}" "${EQUERYCMD}" which "${workon_name}" \
|
||||||
> /dev/null 2>&1; then
|
> /dev/null 2>&1; then
|
||||||
die "run './cros_workon --board ${BOARD_STR} start ${1}' first!" 1>&2
|
die "run 'cros_workon --board ${BOARD_STR} start ${1}' first!" 1>&2
|
||||||
fi
|
fi
|
||||||
die "error looking up package $1"
|
die "error looking up package $1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user