makepkg: Only check regular files in $srcdir check
commitd7c98d4e45f614495399636bf02bc718e4a90ab8
authorThomas Bächler <thomas@archlinux.org>
Mon, 28 Jun 2010 11:31:59 +0000 (28 13:31 +0200)
committerDan McGee <dan@archlinux.org>
Wed, 30 Jun 2010 13:27:29 +0000 (30 08:27 -0500)
tree1f38737a35e8398bbf167b9d35861159ac1f38bc
parent21d5dedfddb290da4e9beafe3e28abcdee1b7091
makepkg: Only check regular files in $srcdir check

The 'grep -R' in the $srcdir check would not only grep regular files,
but also devices, symlinks (that might potentially point outside of
$pkgdir), pipes and so on. Use find to ensure only regular files are
examined.

This should fix https://bugs.archlinux.org/task/19975

Signed-off-by: Allan McRae <allan@archlinux.org>
scripts/makepkg.sh.in