- Timestamp:
- 2017-12-01T18:51:27+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5092_CNRS18_TRUST/NEMOGCM/TRUST/install_new_branch.sh
r8834 r8883 15 15 '-d'|'--debug' ) TRUST_FLAG_DEBUG=1 ; shift ;; '-j'|'--job' ) TRUST_COMPILE_NPROC=$2; shift 2;; 16 16 '-m'|'--machine') TRUST_MAIN_HPCC=$2; shift 2;; '-h'|'--help' ) TRUST_FLAG_HELP=1 ; shift ;; 17 '-u'|'--user' ) TRUST_MAIN_ USER=$2; shift 2;; "*" ) TRUST_FLAG_HELP=1 ; shift ;;17 '-u'|'--user' ) TRUST_MAIN_SETUP=$2; shift 2;; "*" ) TRUST_FLAG_HELP=1 ; shift ;; 18 18 esac 19 19 done … … 22 22 ## Initialization (HPC & user environment) 23 23 ##--------------------------------------------------- 24 if [[ ! -e cfg/${TRUST_MAIN_ USER}.cfg || ! -e cfg/${TRUST_MAIN_HPCC}.cfg || ${TRUST_FLAG_HELP} -eq 1 ]]; then24 if [[ ! -e cfg/${TRUST_MAIN_SETUP}.cfg || ! -e cfg/${TRUST_MAIN_HPCC}.cfg || ${TRUST_FLAG_HELP} -eq 1 ]]; then 25 25 cat ./inc/trusting_help.txt 26 26 … … 28 28 printf "\n\n\033[0;33m" 29 29 printf "At least one configuration (arch or user) file is missing or misspelled:" 30 printf "\t'%s'.cfg\t'%s'.cfg" ${TRUST_MAIN_ USER} ${TRUST_MAIN_HPCC}30 printf "\t'%s'.cfg\t'%s'.cfg" ${TRUST_MAIN_SETUP} ${TRUST_MAIN_HPCC} 31 31 printf "\033[0m" 32 32 fi
Note: See TracChangeset
for help on using the changeset viewer.