summaryrefslogtreecommitdiffstats
path: root/scripts/bash_completion
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-04-21 14:46:34 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-04-21 14:46:34 +0000
commit0e0f49fe34d3ba9c3dcea9387fd2029fd8313a55 (patch)
tree87eae9fad498ecead78bd4c6800c47d5449872f8 /scripts/bash_completion
parent95b7dceabae163ad8691ff0a651e42d2308aef47 (diff)
downloadptxdist-0e0f49fe34d3ba9c3dcea9387fd2029fd8313a55.tar.gz
ptxdist-0e0f49fe34d3ba9c3dcea9387fd2029fd8313a55.tar.xz
[bash-complete] unbreak it
in commit (svn:9180 git:9312d9589b880266fb6bac6d561574139d47be7a) bash completion was broken by renaming the variable PACKAGES_SELECTED to PTX_PACKAGES_SELECTED and not changing the completion script accordingly. this patch fixed this. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10319 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/bash_completion')
-rw-r--r--scripts/bash_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bash_completion b/scripts/bash_completion
index bc8172969..e469953de 100644
--- a/scripts/bash_completion
+++ b/scripts/bash_completion
@@ -38,10 +38,10 @@ _ptxdist_completion()
[ $COMP_CWORD -lt 3 ] && _filedir
;;
get|extract|prepare|compile|install|targetinstall|tags)
- COMPREPLY=( $( compgen -W "${opts} $( ptxdist print PACKAGES_SELECTED )" -- $cur ) )
+ COMPREPLY=( $( compgen -W "${opts} $( ptxdist print PTX_PACKAGES_SELECTED )" -- $cur ) )
;;
clean)
- COMPREPLY=( $( compgen -W "${opts} $( ptxdist print PACKAGES_SELECTED ) root" -- $cur ) )
+ COMPREPLY=( $( compgen -W "${opts} $( ptxdist print PTX_PACKAGES_SELECTED ) root" -- $cur ) )
;;
drop)
COMPREPLY=( $( compgen -W "${opts} $( pushd $(ptxdist print PTXDIST_PLATFORMDIR)/state >/dev/null; ls +(*.get|*.extract|*.prepare|*.compile|*.install|*.targetinstall); popd >/dev/null )" -- $cur ) )