Skip to content

Commit

Permalink
pkg: Add coredump to list of unexpected files in a package
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-turney committed Jan 15, 2024
1 parent 69f28e5 commit 1dabadf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pkg_pkg.cygpart
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ __pkg_pkgcheck() {
sort < ${tmp1} > "${tmp1}.sorted";
mv -f "${tmp1}.sorted" ${tmp1};

if grep -E "^usr/local|\.stackdump$" ${tmp1} > ${T}/pkgcheck.lst
if grep -E "^usr/local|\.stackdump$|\.core$" ${tmp1} > ${T}/pkgcheck.lst
then
warning "Packages contain unexpected files:";
cat ${T}/pkgcheck.lst;
Expand Down

0 comments on commit 1dabadf

Please sign in to comment.