projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9c020f
)
add forgotten local declarations
author
Frederick Zhang
<Frederick888@Tsundere.moe>
Wed, 26 Aug 2015 18:02:34 +0000
(
02:02
+0800)
committer
Frederick Zhang
<Frederick888@Tsundere.moe>
Wed, 26 Aug 2015 18:02:34 +0000
(
02:02
+0800)
src/etc/cargo.bashcomp.sh
patch
|
blob
|
history
diff --git
a/src/etc/cargo.bashcomp.sh
b/src/etc/cargo.bashcomp.sh
index 00e0067cf48c0ba03d5f37a12c982c41896e0b1d..8aa12834e89aa1201f751a616ba3abd70d7ac84e 100644
(file)
--- a/
src/etc/cargo.bashcomp.sh
+++ b/
src/etc/cargo.bashcomp.sh
@@
-103,6
+103,7
@@
_get_targets(){
local TARGETS=()
local FIND_PATHS=( "/" )
local CURRENT_PATH=$(_locate_manifest)
+ local FIND_PATH LINES LINE
while [[ "$CURRENT_PATH" != "/" ]]; do
FIND_PATHS+=( "$CURRENT_PATH" )
CURRENT_PATH=$(dirname $CURRENT_PATH)