Skip to content
Snippets Groups Projects
download.sh 586 B
####################################
# CLONE THE GYSELAX REPO
####################################
git clone https://gitlab.maisondelasimulation.fr/gysela-developpers/gysela.git 1>/dev/null 2>/dev/null

####################################
# TEST THE DOWNLOAD
####################################
echo "##########################"
echo "CHECKING THE DOWNLOAD:"
if [ "$(ls -A ./gysela/src/ 2>/dev/null)" ]; then
     echo ">> main directory is not empty - DOWNLOAD SUCCESSFUL"
else
     echo ">> main directory is empty - DONWLOAD FAILED"
     exit
fi 
echo "##########################"