mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-02 08:09:14 +00:00
try to fix stupidity, again
This commit is contained in:
@@ -117,9 +117,9 @@ def copy_file_to_src(file_path, library_name):
|
||||
|
||||
def zip_src_files():
|
||||
"""
|
||||
Zips all files in the 'src/' directory into 'btl2capfix.zip', preserving symlinks.
|
||||
"""
|
||||
with zipfile.ZipFile('btl2capfix.zip', 'w', zipfile.ZIP_DEFLATED, allowZip64=True) as zipf:
|
||||
Zips all files in the 'src/' directory into 'btl2capfix.zip', preserving symlinks without compression.
|
||||
"""
|
||||
with zipfile.ZipFile('btl2capfix.zip', 'w', zipfile.ZIP_STORED, allowZip64=True) as zipf:
|
||||
for root, dirs, files in os.walk('src/'):
|
||||
for file in files:
|
||||
file_path = os.path.join(root, file)
|
||||
|
||||
Reference in New Issue
Block a user