Alexpux / MSYS2-pacman

MSYS2 port of Arch Linux packman package manager.
GNU General Public License v2.0
164 stars 34 forks source link

A warning message when tidying a seemingly empty package #5

Open elieux opened 9 years ago

elieux commented 9 years ago

I found a problem in makepkg. When tidying an empty package, or one containing only files/directories that are not matched by the * pattern, there is a warning message by find. Is this an unsupported scenario, or should it be fixed?

See example PKGBUILD and log here: https://gist.github.com/elieux/9648dedfe580d2962c1a

https://github.com/Alexpux/MSYS2-pacman/blob/master/scripts/makepkg.sh.in#L1868-1870 https://github.com/Alexpux/MSYS2-pacman/blob/develop/scripts/libmakepkg/tidy/strip.sh.in#L46-48

elieux commented 9 years ago

Commit elieux/pacman@df01d74604ca69397b97a4a1f2dae2061ba7932c should fix it (I have not tested it), see https://github.com/elieux/pacman/commits/issue-5-fix