Skip to content
Snippets Groups Projects
Commit f2b520b3 authored by Papeleux Luc's avatar Papeleux Luc
Browse files

remove ref to .svn in unzip command

parent 226757a4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment