deploy.sh
Go to the documentation of this file.
1 #!/bin/bash
2 
3 mydir=$(dirname $(readlink -f $BASH_SOURCE))
4 top=$(dirname $(dirname $mydir))
5 
6 tgt=$1 ; shift
7 mkdir -p $tgt
8 
9 for which in before after
10 do
11  jsonnet -V noisedb=fnal -V hwnf_epoch=$which -J $top \
12  $top/uboone/nfsp/ubnfsp.jsonnet | bzip2 > $tgt/ubnfsp-${which}.json.bz2
13 done
14 
15 cp $top/uboone/nfsp/*.fcl $tgt
16 
17 echo "Make sure target directory:"
18 echo "$tgt"
19 echo "is in both WIRECELL_PATH and FHICL_FILE_PATH"