Skip to content
Snippets Groups Projects
Commit 3f07214b authored by Louis Moureaux's avatar Louis Moureaux
Browse files

Only run cmsrel if the CMSSW folder doesn't exist

parent 79f13104
No related branches found
No related tags found
1 merge request!11CMakeLists to fetch TUnfold and ProtoDarwin
...@@ -6,9 +6,11 @@ BASE_DIR=$PWD ...@@ -6,9 +6,11 @@ BASE_DIR=$PWD
# Get a CMSSW if we don't have one # Get a CMSSW if we don't have one
if [ -z $CMSSW_BASE ]; then if [ -z $CMSSW_BASE ]; then
cmsrel CMSSW_12_4_0 version=CMSSW_12_4_0
cd CMSSW_12_4_0 [ ! -d $version ] && cmsrel $version
cd $version
cmsenv cmsenv
unset version
fi fi
# Set up libgit2 # Set up libgit2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment