kisslinux / kiss

KISS Linux - Package Manager
https://kisslinux.github.io
MIT License
464 stars 62 forks source link

kiss-size: fix for packages containing files with quotes in filenames #291

Closed aabacchus closed 2 years ago

aabacchus commented 2 years ago

if a package contains a file with a quote in it's name, xargs complains about an unmatched quote and fails, and the pipeline is aborted. this patch separates the files by NULL instead of newline so that xargs can handle such filenames.

aabacchus commented 2 years ago

ach, xargs -0 isn't POSIX. perhaps there's a better way to do this, such as prefixing quotes in the input with backslashes to escape them.