mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
build_library: Fix some typos
This commit is contained in:
parent
a314348a38
commit
3f9c073b4b
@ -82,7 +82,7 @@ def _SplitAndStrip(data):
|
|||||||
Args:
|
Args:
|
||||||
data: list of libraries from ldd output
|
data: list of libraries from ldd output
|
||||||
Returns:
|
Returns:
|
||||||
list of libararies that we should copy
|
list of libraries that we should copy
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return_list = []
|
return_list = []
|
||||||
@ -176,7 +176,7 @@ def CopyRequiredFiles(dest_files_root, allow_list):
|
|||||||
lib_dir = os.path.join(dest_files_root, LIB_DIR)
|
lib_dir = os.path.join(dest_files_root, LIB_DIR)
|
||||||
os.mkdir(lib_dir)
|
os.mkdir(lib_dir)
|
||||||
for file_name in libraries:
|
for file_name in libraries:
|
||||||
logging.debug('Copying file %s to %s', file_name, lib_dir)
|
logging.debug('Copying file %s to %s', file_name, lib_dir)
|
||||||
try:
|
try:
|
||||||
shutil.copy2(file_name, lib_dir)
|
shutil.copy2(file_name, lib_dir)
|
||||||
except EnvironmentError:
|
except EnvironmentError:
|
||||||
|
Loading…
Reference in New Issue
Block a user