1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/scripts
Nezmer 332dd86912 makepkg: Fix the check for references to srcdir/pkgdir
At least in FreeBSD, find always returns 0 if it finds stuff
(imagine that). It doesn't care about the exit status of whatever is
passed to -exec.

This patch makes the checks compatible with this behaviour.

Using xargs and not using grep directly because packages with too many
files would cause grep to complain about argument list being too long.

This should also fix the false positive in packages with no files.

Signed-off-by: Nezmer <git@nezmer.info>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-02-02 18:46:23 -06:00
..
.gitignore Update scripts/ .gitignore 2010-12-12 22:42:22 -06:00
Makefile.am Makefile: Use git describe --dirty for GIT VERSION 2011-01-22 10:02:57 -06:00
makepkg.sh.in makepkg: Fix the check for references to srcdir/pkgdir 2011-02-02 18:46:23 -06:00
pacman-db-upgrade.sh.in Update copyright years for 2011 2011-01-07 18:47:37 -06:00
pacman-optimize.sh.in Update copyright years for 2011 2011-01-07 18:47:37 -06:00
pkgdelta.sh.in Fix bash shell location check 2010-10-13 17:50:54 -05:00
rankmirrors.sh.in Fix bash shell location check 2010-10-13 17:50:54 -05:00
repo-add.sh.in Merge branch 'epoch-work' 2011-01-22 10:03:51 -06:00