Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 11759] profile script lc.sh contains non-portable sh

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 11759] profile script lc.sh contains non-portable sh
  • Date: 30 May 2006 16:32:49 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=11759





------- Additional Comments From ruskie AT email.si 2006-05-30 11:32 -------
I'd go for the following... add shell specific subdirs(installed by their
respective shells) that install in there the profile.d/semscript.SHELL.

Explanation:

There is no possible way to get all shells to have a POSIX compliant sh
implementation. Not to mention diffirint setting of vars:
i.e. set/setenv/export

And then the funky csh stuff as well and others.

So my recommendation is:

$SPELL/profile.d/script.$SHELL -> /etc/profile.d/$SHELL/script.$SHELL

The only problem I see is that /etc/profile would need a way to support this.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page