Changeset 5992
- Timestamp:
- Jan 3, 2026, 2:14:20 PM (9 days ago)
- File:
-
- 1 edited
-
BOL/script_install/install_lmdz.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r5991 r5992 66 66 67 67 if [[ $filename =~ .*\.(ba)?sh ]]; then chmod +x "$filename"; fi 68 } 69 70 #----------------------------------------------------------------------------- 71 function mygit { 72 #----------------------------------------------------------------------------- 73 # Get a file from LMDZ git repository 74 75 local ingitlmdz=$1 76 local outdirname=$2 77 78 # Check if Git is installed 79 if command -v git >/dev/null 2>&1; then 80 git --version 81 else 82 echo "Git is not installed and is needed to download the 1D version of LMDZ." 83 echo "Please install Git" 84 fi 85 86 git clone https://gitlab.in2p3.fr/ipsl/projets/lmdz/$ingitlmdz $outdirname 87 68 88 } 69 89 … … 1164 1184 if [[ $SCM = 1 ]]; then 1165 1185 cd "$MODEL" 1166 myget 1D/1D.tar.gz 1167 tar xf 1D.tar.gz 1186 mygit 1D 1D 1168 1187 cd 1D 1169 1188 if [[ $rad = "oldrad" ]]; then
Note: See TracChangeset
for help on using the changeset viewer.
