mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 10:45:29 +00:00
Enclose tar files in quotes #79.
This commit is contained in:
parent
a71b0ea8ac
commit
9b3b2b590c
|
@ -93,6 +93,7 @@ for installed_package in ${installed_packages}; do
|
|||
& get_install_filepath "" "${package_name}" "preinst" \
|
||||
& get_install_filepath "" "${package_name}" "postinst"; } |
|
||||
while IFS= read -r f; do test -f "${f}" -o -L "${f}" && get_tar_relpath "${f}"; done |
|
||||
xargs -I {} echo \"{}\" |
|
||||
sudo xargs tar -cf "${cache_filepath}" -C /
|
||||
|
||||
log " done (compressed size $(du -h "${cache_filepath}" | cut -f1))."
|
||||
|
|
Loading…
Reference in a new issue