commit: 6e3fab4da2e9c4b7ccc0625b83d70f7ccb19f6f4
parent 9d3b1e272322f043514b08832cbd7930f4ce5e81
Author: Andrius Štikonas <andrius@stikonas.eu>
Date: Sun, 26 Dec 2021 01:10:32 +0000
Remove mkbuild parameter.
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git 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*"""