Commit 2a3fdbf7 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Merge branch '42-fix-manpath' into 'master'

Resolve "Preserve the trailing ':' in MANPATH"

Closes #42

See merge request !127
parents b668846c 04b26cde
Pipeline #3613889 passed with stages
in 15 minutes and 35 seconds
......@@ -179,7 +179,8 @@ def main():
return
# Check if the existing MANPATH ends with ":" (which has a very special meaning)
manpath_with_default = os.environ.get("MANPATH", ":").endswith(":")
manpath = os.environ.get("MANPATH", ":")
manpath_with_default = manpath.endswith(":") or manpath.startswith(":")
import LbEnv
import LbPlatformUtils
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment