pkg.sh: Filter out system installation directories below /usr

System installation directories should not belong to jw-build-generated
packages, so exclude them via regex.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2021-09-26 19:14:58 +00:00
commit b633e9637c

View file

@ -923,7 +923,14 @@ cmd_milk_install_log()
cat_log() cat_log()
{ {
cat $in | $user_filter cat $in | sed '
/\/usr\/bin$/ d
/\/usr\/sbin$/ d
/\/usr\/lib$/ d
/\/usr\/lib64$/ d
/\/usr\/lib\/pkgconfig$/ d
/\/usr\/lib64\/pkgconfig$/ d
' | $user_filter
} }
compress() compress()