Mailinglist Archive: opensuse-bugs (4295 mails)

< Previous Next >
[Bug 1040211] New: CONFIG_SITE not properly set for csh-based shells
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 22 May 2017 17:03:20 +0000
  • Message-id: <bug-1040211-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1040211


Bug ID: 1040211
Summary: CONFIG_SITE not properly set for csh-based shells
Classification: openSUSE
Product: openSUSE Distribution
Version: Leap 42.2
Hardware: x86-64
OS: openSUSE 42.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: ralf.fassel@xxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

CONFIG_SITE is set in the local shell variables only for csh-based shells,
whereas sh-based shells set it in the environment (which seems correct).

/etc/profile.d/site.sh:
...
export CONFIG_SITE
- this exports the variable into the environment

/etc/profile.d/site.csh:
set CONFIG_SITE ...
- this does NOT export the variable, so sub-shells do not see it
- setenv CONFIG_SITE ...
would be correct here.

HTH

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
Follow Ups