Changeset 4406


Ignore:
Timestamp:
Jan 31, 2023, 8:20:13 AM (16 months ago)
Author:
fhourdin
Message:

Version officielle distrib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/check_version.sh

    r4197 r4406  
    33
    44set -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
    517
    618#########################################################################
     
    1931justcheck=0 # just compare results not writing of results in RESUBENCH
    2032tmpdir=/tmp/`whoami` ; mkdir -p $tmpdir
     33tmpdir=/home/lmdz/tmp
    2134rel_svn=""
    2235local_d=`pwd`
     
    5467  case $1 in
    5568      "-h") cat <<fin
    56 check_version.sh [-h] version [version_ref]
     69check_version.sh [-h] version [-latest version_ref]
    5770version is the name of the version of LMDZ to be checked modipsl.version.tar.gz
    5871version_ref is the version to be compared with.
     
    414427if [ $mail_address != "" ] ; then
    415428   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"
    416430fi
    417431
     
    425439  echo "We cleanup /tmp/lmdz/LMDZ$version"
    426440  echo "\rm -rf /tmp/lmdz/LMDZ$version"
    427   \rm -rf /tmp/lmdz/LMDZ$version
    428 fi
    429 
     441  #\rm -rf /tmp/lmdz/LMDZ$version
     442fi
     443
Note: See TracChangeset for help on using the changeset viewer.