Skip to content

Commit

Permalink
Remvark rmtree
Browse files Browse the repository at this point in the history
  • Loading branch information
topilski committed Oct 19, 2018
1 parent 10c2764 commit a5afddc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/build_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ def build_jsonc(self):
cloned_dir = utils.git_clone('https://github.com/fastogt/json-c.git', pwd)
os.chdir(cloned_dir)

autogen_jsonc = ['sh', 'autogen.sh', '--with-pic']
autogen_jsonc = ['sh', 'autogen.sh']
subprocess.call(autogen_jsonc)

utils.build_command_configure(jsonc_compiler_flags, g_script_path, self.prefix_path_)
os.chdir(pwd)
shutil.rmtree(cloned_dir)
#shutil.rmtree(cloned_dir)

def build_hiredis(self):
pwd = os.getcwd()
Expand All @@ -134,7 +134,7 @@ def build_hiredis(self):
make_hiredis = ['make', 'PREFIX={0}'.format(self.prefix_path_), 'install']
subprocess.call(make_hiredis)
os.chdir(pwd)
shutil.rmtree(cloned_dir)
#shutil.rmtree(cloned_dir)

def build_libev(self):
libev_compiler_flags = utils.CompileInfo([], ['--with-pic', '--disable-shared', '--enable-static'])
Expand All @@ -148,7 +148,7 @@ def build_libev(self):

utils.build_command_configure(libev_compiler_flags, g_script_path, self.prefix_path_)
os.chdir(pwd)
shutil.rmtree(cloned_dir)
#shutil.rmtree(cloned_dir)

def build_common(self):
pwd = os.getcwd()
Expand Down

0 comments on commit a5afddc

Please sign in to comment.