Skip to content

Commit

Permalink
Merge pull request #14 from rlcee/210407b
Browse files Browse the repository at this point in the history
recover missing edits
  • Loading branch information
rlcee authored Apr 7, 2021
2 parents d509b95 + be0a995 commit 66b69b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions bin/museSetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ fi
# figure out what environmental UPS setups to run
#
# cases allowed so far
# 1) an explicit qualifier like "-q d000"
# 1) an explicit qualifier like "-q p000"
# 2) Offline is local, pgit or a link, and has a .muse, use recommendation there
# 3) any other local package has a .muse with a recommendation
# 4) $MUSE_WORK_DIR/uNNN exists, take highest number there
Expand All @@ -188,7 +188,9 @@ fi

if [ -z "$MUSE_ENVSET" ]; then
# look for a local recommendation in a package
DIRS=$( find -L . ./link -maxdepth 2 -name .muse | sed -e 's|^\./||' -e 's|/\.muse$||' |\
PP=" . "
[ -d link ] && PP=". ./link"
DIRS=$( find -L $PP -maxdepth 2 -name .muse | sed -e 's|^\./||' -e 's|/\.muse$||' |\
awk '{if($1!="Offline" && $1!="link/Offline") print $0}' )
# put these in the front of the search list
[ -f link/Offline/.muse ] && DIRS="link/Offline $DIRS"
Expand Down
4 changes: 1 addition & 3 deletions python/mu2e_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ def make_dict_and_map( self, userlibs=[], pf_dict=[] ):
# Make a bin based on binname_main.cc -> binname
#
def make_bin( self, target, userlibs=[], otherSource=[]):
sourceFiles = []
for fn in [ target+"_main.cc" ] + otherSource:
sourceFiles.append('#/'+self.srcPath+'/'+fn)
sourceFiles = [ target+"_main.cc" ] + otherSource
self.env.Program(
target = '#/'+self.bindir+"/"+target,
source = sourceFiles,
Expand Down

0 comments on commit 66b69b0

Please sign in to comment.