for i in `cat ~/standalone/env.list `; do echo export $i=`eval echo \\$$i`; done
cat log | perl -p -e 's/cmsswpath/relativep[ath/og;'
for i in ls -d $SHELLDIR/$SCRAM_ARCH/external/*/*/lib; do LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$i; done
mkdir -p $SCRAM_ARCH/cms/fwlite/$CMSSW_VERSION/external/$SCRAM_ARCH/data/Fireworks
cd $SCRAM_ARCH/cms/fwlite/$CMSSW_VERSION/external/$SCRAM_ARCH/data/Fireworks
ln -s ../../../../../../../../$SCRAM_ARCH/cms/data-Fireworks-Geometry/*/Fireworks/Geometry .
add search path to CMSSW_SEARCH_PATH in env script
CMSSW_SEARCH_PATH=$CMSSW_SEARCH_PATH:$CMSSW_RELEASE_BASE/external/$SCRAM_ARCH/data
cmsRun ~/sample.py url=file:/eos/cms/store/relval/CMSSW_11_0_0_pre5/RelValZTT_13/GEN-SIM-RECO/PU25ns_110X_mcRun2_asymptotic_v2-v1/20000/8149B422-F060-AB40-A98F-ADFAB279FD27.root out=test.root