4 |
|
|
5 |
# download the source code from github and make a tar file |
# download the source code from github and make a tar file |
6 |
repo='altMITgcm' |
repo='altMITgcm' |
7 |
code='MITgcm66h' |
code='MITgcm' |
8 |
|
|
9 |
umask 0002 |
umask 0002 |
10 |
|
|
17 |
fi |
fi |
18 |
test -e $code && rm -rf $code |
test -e $code && rm -rf $code |
19 |
|
|
20 |
echo"Make a clone of $code from repo: $repo ..." |
echo "Make a clone of $code from repo: $repo ..." |
21 |
git clone --depth 1 https://github.com/$repo/$code.git |
git clone --depth 1 https://github.com/$repo/$code.git |
22 |
# chgrp gcmpack $code |
# chgrp gcmpack $code |
23 |
# chmod 775 $code |
# chmod 775 $code |