Skip to content

Commit

Permalink
Remove LSST_CFG_PATH.
Browse files Browse the repository at this point in the history
This environment variable was very rarely used, was broken (it is inserted in the wrong place), and has other workarounds (pseudo-packages).
  • Loading branch information
ktlim committed May 22, 2019
1 parent a72d8d3 commit 25913f9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/lsst/sconsUtils/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ def _initEnvironment():
# requiring <product name>_DIR to be in the env
cfgPath.append(os.path.join(SCons.Script.Dir('#').abspath, 'ups'))

# Recursively walk LSST_CFG_PATH
for root in os.environ.get("LSST_CFG_PATH", "").split(":"):
for base, dirs, files in os.walk(root):
dirs = [d for d in dirs if not d.startswith(".")]
cfgPath.insert(0, base)
#
# Add any values marked as export=FOO=XXX[,GOO=YYY] to ourEnv
#
Expand Down

0 comments on commit 25913f9

Please sign in to comment.