From f2b520b38e41a9a691ecd18cec3a9dbdbd4b117d Mon Sep 17 00:00:00 2001
From: Luc Papeleux <L.Papeleux@ULiege.be>
Date: Mon, 10 Jun 2024 18:10:21 +0200
Subject: [PATCH] remove ref to .svn in unzip command

---
 comp.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/comp.py b/comp.py
index f0a1ac2..4294d66 100755
--- a/comp.py
+++ b/comp.py
@@ -175,12 +175,12 @@ class CompJob(ParametricJob):
         ext = os.path.splitext(file)[1]
         if ext==".zip":
             # unzip the source and try to convert text files
-            cmd = 'unzip -a %s -x "*/.svn/*" >/dev/null' % file
+            cmd = 'unzip -a %s -x "*/.git/*" >/dev/null' % file
             sysOutput = os.system(cmd)
             if (sysOutput != 0):
                 self.error("unable to unzip archive %s !" % file)
-            # no conversion for ".svn" database
-            cmd = 'unzip %s "*/.svn/*" >/dev/null' % file
+            # no conversion for ".git" database
+            cmd = 'unzip %s "*/.git/*" >/dev/null' % file
             sysOutput = os.system(cmd)
             if (sysOutput != 0):
                 self.error("unable to unzip archive %s !" % file)
-- 
GitLab