static-nix-shell: fix typo in assigning PATH/XDG_DATA_DIRS
This commit is contained in:
@@ -306,9 +306,9 @@ in rec {
|
|||||||
def addToSearchPath(envName, appendValue):
|
def addToSearchPath(envName, appendValue):
|
||||||
value = os.environ.get(envName)
|
value = os.environ.get(envName)
|
||||||
if value is None:
|
if value is None:
|
||||||
os.environ[value] = appendValue
|
os.environ[envName] = appendValue
|
||||||
else:
|
else:
|
||||||
os.environ[value] = value + ":" + appendValue
|
os.environ[envName] = value + ":" + appendValue
|
||||||
|
|
||||||
def addSiteDirs(joinedDirs):
|
def addSiteDirs(joinedDirs):
|
||||||
known = site._init_pathinfo()
|
known = site._init_pathinfo()
|
||||||
|
Reference in New Issue
Block a user