HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to executable is specified. Contributed by Sean Mackrory.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1384436 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb7f8a71e0
commit
cae6885b71
|
@ -230,6 +230,9 @@ Release 2.0.3-alpha - Unreleased
|
|||
|
||||
BUG FIXES
|
||||
|
||||
HADOOP-8795. BASH tab completion doesn't look in PATH, assumes path to
|
||||
executable is specified. (Sean Mackrory via atm)
|
||||
|
||||
Release 2.0.2-alpha - 2012-09-07
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -26,7 +26,7 @@ _hadoop() {
|
|||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
prev=${COMP_WORDS[COMP_CWORD-1]}
|
||||
script=${COMP_WORDS[0]}
|
||||
script=`which ${COMP_WORDS[0]}`
|
||||
|
||||
# Bash lets you tab complete things even if the script doesn't
|
||||
# exist (or isn't executable). Check to make sure it is, as we
|
||||
|
|
Loading…
Reference in New Issue