ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/FGolf/BatchSubmitCMS2/writeConfig.sh
(Generate patch)

Comparing UserCode/FGolf/BatchSubmitCMS2/writeConfig.sh (file contents):
Revision 1.5 by fgolf, Mon Feb 11 19:40:38 2013 UTC vs.
Revision 1.6 by fgolf, Tue May 28 07:00:33 2013 UTC

# Line 25 | Line 25 | mv ../sweepRoot .
25   tar -czf input.tgz --exclude='*CVS*' *
26   cd ${DIR}
27  
28 <
29 <    DATATYPE=$1
30 <    REALDATA=$2
31 <    RUNLIST=$3
32 <    DATADIR=$4
33 <    COPYDIRBASE=$5
34 <    COPYDIR=/hadoop/cms/store/user/$USER/${COPYDIRBASE}
28 > #
29 > # arguments to run the script
30 > #
31 > SAMPLE="$1"
32 > ATYPE="$2"
33 > RUNLIST="$3"
34 > OPTIONS="$4"
35 > DATADIR="$5"
36 > COPYDIRBASE="$6"
37 > COPYDIR="/hadoop/cms/store/user/$USER/${COPYDIRBASE}"
38  
39   #
40   # write configuration
# Line 65 | Line 68 | x509userproxy=${PROXY}
68          echo "
69   executable=${EXE}
70   transfer_executable=True
71 < arguments=`echo ${FILE##*/} | sed 's/\.root//g'` ${DATATYPE} ${FILE} ${REALDATA} ${RUNLIST} ${COPYDIR}
71 > arguments=\"`echo ${FILE##*/} | sed 's/\.root//g'` ${FILE} ${SAMPLE} ${ATYPE} ${RUNLIST} ${OPTIONS} ${COPYDIR}\"
72   queue
73   " >> condor_${COPYDIRBASE##*/}.cmd
74      done
75  
76   echo "[writeConfig] wrote condor_${COPYDIRBASE##*/}.cmd"
74

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines