10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-27 20:11:25 +02:00

robot option in setup

This commit is contained in:
Anthony Scemama 2015-03-24 17:47:22 +01:00
parent c073338486
commit 91cc681152
2 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,7 @@ before_script:
- sudo apt-get install gfortran liblapack-dev zip
script:
- ./setup_environment.sh
- ./setup_environment.sh --robot
- source ./quantum_package.rc
- cp ./src/Makefile.config.gfortran ./src/Makefile.config
- make build

View File

@ -74,6 +74,12 @@ source ${QPACKAGE_ROOT}/quantum_package.rc
=======================================================
" $BLACK
source quantum_package.rc
exec bash
if [[ $1 == "--robot" ]] ;
then
exit 0
else
source quantum_package.rc
exec bash
fi