-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·17 lines (15 loc) · 805 Bytes
/
test.sh
File metadata and controls
executable file
·17 lines (15 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -e # Exit immediately if a simple command exits with a non-zero status.
set -x # Log all commands to stdout.
set -o pipefail # Return value of a pipeline as the value of the last command to
# exit with a non-zero status, or zero if all commands in the
# pipeline exit successfully.
shopt -s expand_aliases # Expand command alias to the command itself.
# Required for non-interactive shell.
source /opt/cms/cmsset_default.sh
scram b -j4
scram b -j
eval `scram runtime -sh`
sed -i 's#/afs/cern.ch/user/j/jkaspar/public/run273062_ls0001-2_stream#sample#g' raw_data_chain_test.py
sed -i 's#/afs/cern.ch/user/j/jkaspar/public/run273062_ls0001-2_stream#sample#g' raw_data_chain_test.reference_output
cmsRun raw_data_chain_test.py