discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep.sh / env sanity patches


From: Alexey I. Froloff
Subject: Re: GNUstep.sh / env sanity patches
Date: Sat, 14 Aug 2004 13:25:06 +0400
User-agent: Mutt/1.5.6+cvs20040715i

* MJ Ray <mjr@> [040813 22:05]:
> "Alexey I. Froloff" <sir_raorn@immo.ru> wrote:
> > * MJ Ray <mjr@> [040813 03:40]:
> > > I'd like to see GNUstep.sh killed because it doesn't work in my shell.
> > What shell?  zsh?
> rc,
Hm...  Never heared about this ;-)

Problem with zsh is in it's default settings.  SH_WORD_SPLIT
option is off by default.  So I had to do the following in my
/etc/profile.d/GNUstep.sh:

[...]
  if [ -n "$ZSH_VERSION" ]; then
    old_shwordsplit="${-##*y*}"
    setopt shwordsplit
  fi
  . /usr/X11R6/lib/GNUstep/Library/Makefiles/GNUstep.sh
  if [ -n "$ZSH_VERSION" ]; then
    if [ -n "$old_shwordsplit" ]; then
      setopt noshwordsplit
    fi
    unset old_shwordsplit
  fi
[...]

-- 
Regards,
Sir Raorn.

Attachment: pgpVgX6KqVJxh.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]