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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitted by:  Alex Merry <randomguy3>
Submitted on:  Wed 04 Jan 2012 01:19:37 AM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Thanks!

Nicola Pero <nico>
Project 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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Feb 2012 02:21:57 PM UTCnicoOpen/ClosedOpen=>Closed
    Wed 04 Jan 2012 01:19:37 AM UTCrandomguy3Attached File-=>Added gnustep-make-zsh-fix.patch, #24734

    Back to the top


    Powered by Savane 3.1-cleanup1