Fix awk delimiter.

Pull in fix by @sn-o-w in d0ee83b497 mentioned in issue #99
This commit is contained in:
Andrew Walsh 2023-10-30 10:31:12 -07:00 committed by GitHub
parent 21cb5295bf
commit d037191b54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ for installed_package in ${installed_packages}; do
& get_install_script_filepath "" "${package_name}" "preinst" \
& get_install_script_filepath "" "${package_name}" "postinst"; } |
while IFS= read -r f; do test -f "${f}" -o -L "${f}" && get_tar_relpath "${f}"; done |
# Single quotes ensure literals like backslash get captured. Use \0 to avoid field separation.
# Single quotes ensure literals like backslash get captured. Use \0 to avoid field separation.
awk -F"\0" '{print "\x27"$1"\x27"}' |
sudo xargs tar -cf "${cache_filepath}" -C /