Skip to content

makepkg: remove dotted files under $srcdir

Running rm -rf ${srcdir}/* will fail to match dotted files without extglob shell option, leading to misbehavior of makepkg --cleanbuild if such files are present.

Instead, use find -exec ... + for equivalent behavior but matching dotted files.

Fixes #57 (closed).

Edited by Ivan Shapovalov

Merge request reports