From cc163229ed4facb541e7515a7ceb156d0bed44fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Riette?= <sebastien.riette@meteo.fr>
Date: Fri, 17 Nov 2023 13:56:28 +0100
Subject: [PATCH] S. Riette 17 Nov 2023: typo

---
 build/with_fcm/make_fcm.sh | 4 ++--
 tools/INSTALL.sh           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build/with_fcm/make_fcm.sh b/build/with_fcm/make_fcm.sh
index ab8f35a0c..2a7398bb4 100755
--- a/build/with_fcm/make_fcm.sh
+++ b/build/with_fcm/make_fcm.sh
@@ -96,7 +96,7 @@ function check_install_fcm() {
     cd fcm
     rm -f .gitkeep
     if [ $ssh -eq 1 ]; then
-      git clone git@github.com:metomi/fcm.git
+      git clone git@github.com:metomi/fcm.git .
     else
       git clone https://github.com/metomi/fcm.git .
     fi
@@ -113,7 +113,7 @@ function check_install_fiat() {
     cd fiat
     rm -f .gitkeep
     if [ $ssh -eq 1 ]; then
-      git clone git@github.com:ecmwf-ifs/fiat.git
+      git clone git@github.com:ecmwf-ifs/fiat.git .
     else
       git clone https://github.com/ecmwf-ifs/fiat.git .
     fi
diff --git a/tools/INSTALL.sh b/tools/INSTALL.sh
index 6a8afef55..b851ed4b8 100755
--- a/tools/INSTALL.sh
+++ b/tools/INSTALL.sh
@@ -39,7 +39,7 @@ while [ -n "$1" ]; do
     '--fiatfcm') fiatfcm=1;;
     '--clean') clean=1;;
     '--test') dotest=1;;
-    '--sh') ssh=1;;
+    '--ssh') ssh=1;;
     '-h') usage; exit;;
     *) echo "Unknown option $1"; exit 1;;
   esac
-- 
GitLab