bug-gnustep
[Top][All Lists]
Advanced

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

[bug #35233] [PATCH] GNUstep.sh does not run correctly when zsh emulates


From: Alex Merry
Subject: [bug #35233] [PATCH] GNUstep.sh does not run correctly when zsh emulates sh
Date: Wed, 04 Jan 2012 01:19:38 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7

URL:
  <http://savannah.gnu.org/bugs/?35233>

                 Summary: [PATCH] GNUstep.sh does not run correctly when zsh
emulates sh
                 Project: GNUstep
            Submitted by: randomguy3
            Submitted on: Wed 04 Jan 2012 01:19:37 GMT
                Category: Makefiles
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Running
emulate sh -c 'source /etc/profile.d/GNUstep.sh'
results in the error
/etc/profile.d/GNUstep.sh line 70: set: bad option: -y

This is because "emulate" affects the behaviour of "set".

This is an issue on Archlinux, for example, where /etc/zsh/zshprofile runs
`emulate sh -c 'source /etc/profile'`.

Making GNUstep.sh safe against this is fairly straightforward - just use
setopt instead.

Patch attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 04 Jan 2012 01:19:37 GMT  Name: gnustep-make-zsh-fix.patch  Size:
540B   By: randomguy3

<http://savannah.gnu.org/bugs/download.php?file_id=24734>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35233>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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