Skip to content

Commit

Permalink
proper check for environmental
Browse files Browse the repository at this point in the history
  • Loading branch information
rlcee committed Apr 27, 2022
1 parent 17282c6 commit d4c025e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sconstruct_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def cppPath(mu2eOpts):
# the directory containing the local repos
path.append(mu2eOpts["workDir"])
# the backing build areas style
if len(os.environ['MUSE_BACKING'])>0 :
if os.environ.get('MUSE_BACKING') :
for bdir in os.environ['MUSE_BACKING'].split():
path.append(bdir)
else:
Expand Down

0 comments on commit d4c025e

Please sign in to comment.