[yast-commit] r55161 - in /branches/SuSE-Code-11-Branch/yast2: VERSION package/yast2.changes scripts/yast2-completion.sh
Author: jsrain Date: Fri Jan 30 11:31:38 2009 New Revision: 55161 URL: http://svn.opensuse.org/viewcvs/yast?rev=55161&view=rev Log: fixed bash completion (bnc #470544) Modified: branches/SuSE-Code-11-Branch/yast2/VERSION branches/SuSE-Code-11-Branch/yast2/package/yast2.changes branches/SuSE-Code-11-Branch/yast2/scripts/yast2-completion.sh Modified: branches/SuSE-Code-11-Branch/yast2/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/VERSION?rev=55161&r1=55160&r2=55161&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/VERSION (original) +++ branches/SuSE-Code-11-Branch/yast2/VERSION Fri Jan 30 11:31:38 2009 @@ -1 +1 @@ -2.17.63 +2.17.64 Modified: branches/SuSE-Code-11-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/package/yast2.changes?rev=55161&r1=55160&r2=55161&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-Branch/yast2/package/yast2.changes Fri Jan 30 11:31:38 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Jan 30 11:14:42 CET 2009 - jsrain@suse.cz + +- fixed bash completion (bnc #470544) +- 2.17.64 + +------------------------------------------------------------------- Mon Jan 26 13:08:55 CET 2009 - locilka@suse.cz - Fixing ProductControl to avoid leaving a workflow by with the Modified: branches/SuSE-Code-11-Branch/yast2/scripts/yast2-completion.sh URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/scripts/yast2-completion.sh?rev=55161&r1=55160&r2=55161&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/scripts/yast2-completion.sh (original) +++ branches/SuSE-Code-11-Branch/yast2/scripts/yast2-completion.sh Fri Jan 30 11:31:38 2009 @@ -18,7 +18,7 @@ fi cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} - if [[ ${#COMP_WORDS[@]} -ge 3 ]]; then + if [[ ${#COMP_WORDS[@]} -ge 3 && $COMP_CWORD -ge 2 ]]; then prevprev=${COMP_WORDS[COMP_CWORD-2]} fi if [[ $cur == '-' ]]; then -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsrain@svn.opensuse.org