Move run_command method out of buildEnv class.

This commit is contained in:
Matthieu Gautier
2018-05-28 11:18:13 +02:00
parent 816e06a512
commit 7e0b403ccc
8 changed files with 67 additions and 90 deletions

View File

@ -4,7 +4,7 @@ from .base import (
MakeBuilder
)
from kiwixbuild.utils import Remotefile
from kiwixbuild.utils import Remotefile, run_command
class Gumbo(Dependency):
@ -18,6 +18,6 @@ class Gumbo(Dependency):
def _post_prepare_script(self, context):
context.try_skip(self.extract_path)
command = "./autogen.sh"
self.buildEnv.run_command(command, self.extract_path, context)
run_command(command, self.extract_path, context)
Builder = MakeBuilder