bugGNUstep - Bugs: bug #35233, [PATCH] GNUstep.sh does not run...

Group
 
 

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

Submitter:  Alex Merry <randomguy3>
Submitted:  Wed 04 Jan 2012 01:19:37 AM UTC
   
 
Category:  Makefiles Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 21 Feb 2012 02:21:57 PM UTC, comment #1: 

Thanks!

Nicola Pero <nico>
Group Member
Wed 04 Jan 2012 01:19:37 AM UTC, original submission:  

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.

Alex Merry <randomguy3>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by randomguy3 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-21 nico Open/ClosedOpen Closed
    2012-01-04 randomguy3 Attached File- Added gnustep-make-zsh-fix.patch, #24734

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code