~ubuntu-branches/ubuntu/lucid/zsh-beta/lucid

« back to all changes in this revision

Viewing changes to Completion/Unix/Command/_ant

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Porcheron
  • Date: 2007-12-02 11:30:56 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20071202113056-9juyb6z28em9qmkk
Tags: 4.3.4-dev-3+20071130-1ubuntu1
* Merge from Debian unstable. Remaining Ubuntu changes:
  -  Add "add-shell /bin/zsh" because zsh-beta is already registered
     as an alternative to zsh, and this is needed to be able to have
     zsh-beta as the only installed zsh.
  - Don't set PATH in zshenv any more
  - Update maintainer in field debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
find_targets() {
10
10
    importedfiles=( $(sed -n "s/ *<import[^>]* file=[\"']\([^\"']*\)[\"'].*/\1/p" < $1) )
11
 
    sed -n "s/ *<target[^>]* name=[\"']\([^\"']*\)[\"'].*/\1/p" $1
 
11
    # Tweaked to omit targets beginning with "-" that can't
 
12
    # be invoked from the command line; see zsh-workers/24129.
 
13
    sed -n "s/ *<target[^>]*  name=[\"']\([^-][^\"']*\)[\"'].*/\1/p" $1
12
14
    if (( $#importedfiles )) ; then
13
15
        ( cd $1:h
14
16
        for file in $importedfiles ; do