Skip to content

Commit

Permalink
Improve regex further
Browse files Browse the repository at this point in the history
co-authored-by:  jmcarcell <[email protected]>
  • Loading branch information
2 people authored and andresailer committed Aug 7, 2023
1 parent 32a8cb5 commit d20b3f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tests/bin/MarlinTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#----- parse command line - first argument is the
# test to run
## Drop existing ClicPerformance from MARLIN_DLL
MARLIN_DLL=`echo $MARLIN_DLL | sed -e 's/:\?[-a-z0-9A-Z_/.=]*libClicPerformance.so[.0-9]*:\?/:/'`
MARLIN_DLL=`echo $MARLIN_DLL | sed -E 's/(:?)[^:]*libClicPerformance\.so:?/\1/'`
export MARLIN_DLL=$1:$MARLIN_DLL
command=$2
theargs=""
Expand Down
2 changes: 1 addition & 1 deletion Tests/bin/Profiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source /cvmfs/projects.cern.ch/intelsw/psxe/linux/all-setup.sh
#----- parse command line - first argument is the
# test to run
## Drop existing ClicPerformance from MARLIN_DLL
MARLIN_DLL=`echo $MARLIN_DLL | sed -e 's/:\?[-a-z0-9A-Z_/.=]*libClicPerformance.so[.0-9]*:\?/:/'`
MARLIN_DLL=`echo $MARLIN_DLL | sed -E 's/(:?)[^:]*libClicPerformance\.so:?/\1/'`
export MARLIN_DLL=$1:$MARLIN_DLL
command=$2
theargs=""
Expand Down
2 changes: 1 addition & 1 deletion Tests/bin/ValgrindTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#----- parse command line - first argument is the
# test to run
## Drop existing ClicPerformance from MARLIN_DLL
MARLIN_DLL=`echo $MARLIN_DLL | sed -e 's/:\?[-a-z0-9A-Z_/.=]*libClicPerformance.so[.0-9]*:\?/:/'`
MARLIN_DLL=`echo $MARLIN_DLL | sed -E 's/(:?)[^:]*libClicPerformance\.so:?/\1/'`
export MARLIN_DLL=$1:$MARLIN_DLL
export VALGRIND_LIB=$2
command=$3
Expand Down

0 comments on commit d20b3f6

Please sign in to comment.