Project

General

Profile

copy_out_FHICL.sh

Martin Frank, 03/12/2014 11:31 AM

 
1
#!/bin/sh
2

    
3
INFILE=DDTGlobalConfiguration-NDOS.fcl
4
DDT_TIMESTAMP=`date +%F_%H-%M`
5
SVN_REVISION=`svnversion DDTGlobalConfigurations`
6
OUTFILE=${DDT_TIMESTAMP}_svn${SVN_REVISION}_DDTGlobalConfiguration-NDOS.fcl
7

    
8
echo
9
echo "Please make sure that you updated DDTGlobalConfigurations."
10
echo
11
echo "IN:  " ${INFILE}
12
echo "OUT: " ${OUTFILE}
13
echo
14

    
15
cp DDTGlobalConfigurations/${INFILE} ${OUTFILE}
16

    
17
exit 0