Skip to content

Commit

Permalink
Merge pull request #63 from rlcee/envfix_220427
Browse files Browse the repository at this point in the history
Envfix 220427
  • Loading branch information
rlcee authored Apr 27, 2022
2 parents 17282c6 + 8ba1ea1 commit 0551ddf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions bin/museBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ echo -n "$(date +'%D %H:%M:%S to ')" > $MUSE_BUILD_DIR/.musebuild
# this is used to indicate the repos were built even if it
# produces no files in the build area during the scons build

# first remove old links, which may be stale
rm -f $MUSE_BUILD_DIR/link/*

# this should work for old link style and new backing style
for REPO in $MUSE_LOCAL_REPOS
do
Expand Down
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 0551ddf

Please sign in to comment.