Changeset 4406
- Timestamp:
- Jan 31, 2023, 8:20:13 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/check_version.sh
r4197 r4406 3 3 4 4 set -vx 5 6 # AFAIRE 7 # On pourrait gerer le justcheck en creant un repertoire 8 # avec 9 # if recheck 10 # resubench=./RESUBENCH$$ 11 # else 12 # resubench=$RESU_D/$datelmdz$rel_svn 13 #On pourrait ainsi utiliser une fonction independante qui genere les messages 14 # comme check_version_message 15 16 5 17 6 18 ######################################################################### … … 19 31 justcheck=0 # just compare results not writing of results in RESUBENCH 20 32 tmpdir=/tmp/`whoami` ; mkdir -p $tmpdir 33 tmpdir=/home/lmdz/tmp 21 34 rel_svn="" 22 35 local_d=`pwd` … … 54 67 case $1 in 55 68 "-h") cat <<fin 56 check_version.sh [-h] version [ version_ref]69 check_version.sh [-h] version [-latest version_ref] 57 70 version is the name of the version of LMDZ to be checked modipsl.version.tar.gz 58 71 version_ref is the version to be compared with. … … 414 427 if [ $mail_address != "" ] ; then 415 428 ssh lmdz@django "mail -s 'Nouvelle version pour install_lmdz.sh' $mail_address < "$local_d"/tmp.message" 429 # ssh lmdz@lmdz-forge "mail -s 'Nouvelle version pour install_lmdz.sh' $mail_address < "$local_d"/tmp.message" 416 430 fi 417 431 … … 425 439 echo "We cleanup /tmp/lmdz/LMDZ$version" 426 440 echo "\rm -rf /tmp/lmdz/LMDZ$version" 427 \rm -rf /tmp/lmdz/LMDZ$version428 fi 429 441 #\rm -rf /tmp/lmdz/LMDZ$version 442 fi 443
Note: See TracChangeset
for help on using the changeset viewer.