From dbeb1401dbe2c46930e612dad75a215946e127c3 Mon Sep 17 00:00:00 2001 From: ianmacd <> Date: Fri, 8 Mar 2002 17:26:41 +0000 Subject: [PATCH] - _java(): fixed reference to wrong local variable --- bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash_completion b/bash_completion index df2c0854..2b822333 100644 --- a/bash_completion +++ b/bash_completion @@ -1,6 +1,6 @@ # bash_completion - some programmable completion functions for bash 2.05a # -# $Id: bash_completion,v 1.188 2002/03/08 18:21:30 ianmacd Exp $ +# $Id: bash_completion,v 1.189 2002/03/08 18:26:41 ianmacd Exp $ # # Copyright (C) Ian Macdonald # @@ -2263,7 +2263,7 @@ _java() elif [ -d $i ]; then COMPREPLY=( ${COMPREPLY[@]} $( find $i -type f \ -name *.class | grep .class | \ - sed -e 's|^'$elt'/||' \ + sed -e 's|^'$i'/||' \ -e 's|\.class$||' \ -e 's|/|.|g' | grep ^$cur ) ) fi