From 6e3fab4da2e9c4b7ccc0625b83d70f7ccb19f6f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 26 Dec 2021 01:10:32 +0000 Subject: [PATCH] Remove mkbuild parameter. --- lib/sysgeneral.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/sysgeneral.py b/lib/sysgeneral.py index 58ea5b5..97349d0 100644 --- a/lib/sysgeneral.py +++ b/lib/sysgeneral.py @@ -96,7 +96,7 @@ this script the next time") self.check_file(abs_file_name) return abs_file_name - def get_file(self, url, mkbuild=False, output=None): + def get_file(self, url, output=None): """ Download and prepare source packages @@ -105,9 +105,6 @@ this script the next time") 2. list of URLs to download. In this case the first URL is the primary URL from which we derive the name of package directory output can be used to override file name of the downloaded file(s). - - mkbuild=True can be used to pre-create build directories before - mkdir is available. """ # Single URL if isinstance(url, str): @@ -136,8 +133,6 @@ this script the next time") tarball = self.download_file(urls[i], outputs[i]) # Install sources into target directory shutil.copy2(tarball, target_src_dir) - if mkbuild: - os.mkdir(os.path.join(self.base_dir, target_name, 'build')) def deploy_sysglobal_files(self): """Deploy files common to all Sys*"""