Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#416441: Patch
- X-seq: zsh-workers 23253
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#416441: Patch
- Date: Sat, 31 Mar 2007 13:01:50 -0400
- Cc: Erik Johansson <debian@xxxxxxxxxxxxx>, 416441@xxxxxxxxxxxxxxx
- In-reply-to: <200703311841.27521.debian@xxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Erik Johansson <debian@xxxxxxxxxxxxx>, 416441@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200703311841.27521.debian@xxxxxxxxxxxxx>
On Sat, Mar 31, 2007 at 06:41:27PM +0200, Erik Johansson wrote:
> The attached patch fixes the problem for me.
Thanks.
> --- _module.ORG 2007-03-31 17:47:42.000000000 +0200
> +++ _module 2007-03-31 17:55:08.000000000 +0200
> @@ -83,7 +83,7 @@
> # Fills the available modules cache
> _module_available_modules()
> {
> - if (( [[ -n "$MODULEPATH" ]] && [[ ${+_available_modules} -eq 0 ]] ));
> + if (( [[ -n $MODULEPATH ]] && [[ ${+_available_modules} -eq 0 ]] ));
> then
> _available_modules=($(find ${(e)=MODULEPATH//:/ } -xtype f -print 2>/dev/null | grep -v \.version | sed -e 's,\('${${(e)=MODULEPATH//:/\/\\\|}%\\\|}'\),,g' -e 's,^/*,,g'))
> fi
Why would this break zcompile?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author