mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-09-24 04:53:29 -04:00
commit
ff97a67844
@ -134,7 +134,7 @@ class GitClone(Source):
|
||||
context.force_native_build = True
|
||||
if os.path.exists(self.git_path):
|
||||
raise SkipCommand()
|
||||
command = "git clone " + self.git_remote
|
||||
command = "git clone --depth=1 {} {}".format(self.git_remote, self.git_dir)
|
||||
self.buildEnv.run_command(command, self.buildEnv.source_dir, context)
|
||||
|
||||
def _git_update(self, context):
|
||||
|
Loading…
x
Reference in New Issue
Block a user