Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /CalibCalorimetry/EcalCorrelatedNoiseAnalysisModules/data/EcnaSystemScriptCleanSubmissionScripts is written in an unsupported language. File is not indexed.

0001 # ----------------------------------------- EcnaSystemScriptCleanSubmissionScripts -----------------------------------
0002 #
0003 #    Script for ECNA Submission scripts clean with path as argument
0004 #
0005 #    Syntax of call:   csh EcnaSystemScriptCleanSubmissionScripts PATH
0006 #
0007 #    Example of call: 
0008 #    csh EcnaSystemScriptCleanSubmissionScripts /afs/cern.ch/user/f/fabbro/cmssw/CMSSW_2_1_19/test/slc4_ia32_gss345
0009 #
0010 #    Update: 17/03/10
0011 #
0012 #---------------------------------------------------------------------------------------------------------------------
0013 
0014 echo "*EcnaSystemScriptCleanSubmissionScripts> Script for ECNA submission scripts clean started."
0015 
0016 set userdir  = $HOME
0017 
0018 pwd
0019 
0020 if( !(-d ${1}) ) then
0021   set localdir = $PWD
0022 else
0023   set localdir = ${1}
0024 endif
0025 
0026 #....   .......
0027   cd ${localdir}
0028   pwd
0029 
0030 if( -f EcnaSubmissionFlagFile ) then
0031   \rm SubmissionScriptFromPythonFile_*
0032   \rm EcnaSubmissionFlagFile
0033 else
0034   echo "*EcnaSystemScriptCleanSubmissionScripts> no EcnaSubmissionFlagFile found in directory: "
0035   echo "                                   ${1}"
0036 endif
0037 
0038 
0039 echo "*EcnaSystemScriptCleanSubmissionScripts> End of execution."