-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use bash arrays in test/get*HLT.sh scripts
Update of the scripts HLTrigger/Configuration/test/getHLT.sh , and HLTrigger/Configuration/test/getFrozenHLT.sh to use an associative array to specify which HLT configurations should be downloaded from ConfDB. This allows for more flexibility for non-standard use cases (e.g. having to specify different version numbers for different subtables). In getFrozenHLT.sh , this change also avoids having to specify the list of configurations in a separate string (which was named TABLES prior to this commit): now, it is sufficient to add a new configuration to the associative array. The downside of using associative arrays is that the configurations are not downloaded anymore in a specific order, but said order is (and should be) unimportant in this context.
- Loading branch information
Showing
2 changed files
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters