From bb3d37da585665523c400c5c59ee306d04fb36a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Tue, 18 Jul 2023 13:25:43 +0200
Subject: [PATCH] [git] fixed exec command

---
 bin/git.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/git.sh b/bin/git.sh
index c9b9544c28c..e3bd5d34017 100755
--- a/bin/git.sh
+++ b/bin/git.sh
@@ -136,7 +136,7 @@ do
     echo "-- Repository $plugin"
     echo "--------------------------------------------------"
 
-    if [ "$TARGET" != "" ] && [ -f $TARGET ]
+    if [ "$COMMAND" != "" ]
     then
         cd $plugin
         if [ "$TARGET" != "" ]
-- 
GitLab