Summary: | app-shells/posh: variable assignments do not affect the env when calling a function | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | [OLD] Core system | Assignee: | Michał Górny <mgorny> |
Status: | CONFIRMED --- | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598236 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michał Górny
![]() ![]() ![]() ![]() this is correct behavior. bash does the same thing when invoked as /bin/sh. it's even more obnoxious that bash changes its behavior based on how it was invoked. http://lists.gnu.org/archive/html/bug-bash/2010-08/msg00164.html Let's reuse the bug for reverse posh bugreport then. |