Mentions légales du service

Skip to content
Snippets Groups Projects
Commit bc947f6f authored by Achraf Achkari's avatar Achraf Achkari
Browse files

Update SEQUOIAGeneration.sh script for R1.1

parent e2e7441b
No related branches found
No related tags found
1 merge request!17Fix SEQUOIA Confs
...@@ -206,25 +206,28 @@ if [ ! -f ./SEQUOIASVSAdaptation.sh ]; then ...@@ -206,25 +206,28 @@ if [ ! -f ./SEQUOIASVSAdaptation.sh ]; then
exit 1; exit 1;
fi; fi;
pathToResources='' # adapt only if version is higher than 1.1
if [ "$versionLabel" != "1.1" ]; then
pathToResources=''
if [ ! -d ./classes/sequoia-db-hack ]; then if [ ! -d ./classes/sequoia-db-hack ]; then
echo -e "${RED}Resources for adaptations not found, please provide a path manually" echo -e "${RED}Resources for adaptations not found, please provide a path manually"
read -r $pathToResources read -r $pathToResources
else else
pathToResources=$(realpath ./classes/sequoia-db-hack) pathToResources=$(realpath ./classes/sequoia-db-hack)
fi fi
if [ ! -x ./SEQUOIASVSAdaptation.sh ]; then if [ ! -x ./SEQUOIASVSAdaptation.sh ]; then
chmod +x SEQUOIASVSAdaptation.sh chmod +x SEQUOIASVSAdaptation.sh
fi; fi;
env JAVA_HOME=$JAVA_HOME M2_BIN=$mavenPath ./SEQUOIASVSAdaptation.sh "$workspaceDir/$folderName" $pathToResources env JAVA_HOME=$JAVA_HOME M2_BIN=$mavenPath ./SEQUOIASVSAdaptation.sh "$workspaceDir/$folderName" $pathToResources
if [ $? != 0 ]; then if [ $? != 0 ]; then
echo "${RED}Adaptations failed" echo "${RED}Adaptations failed"
exit 1 exit 1
fi fi
fi;
#Zip validator #Zip validator
#move to bin path #move to bin path
......
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