Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/pacman-optimize.sh.in
diff options
context:
space:
mode:
authorNezmer <git@nezmer.info>2011-02-01 12:02:50 -0500
committerDan McGee <dan@archlinux.org>2011-02-02 18:46:23 -0600
commit332dd86912515dda5703127d13fd21f96e8273b9 (patch)
treeca8c85c002a21539596672eb7a7b00970f500ef0 /scripts/pacman-optimize.sh.in
parent3444146b48685deb4ebd68c3a5b4be5d2197b935 (diff)
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>
Diffstat (limited to 'scripts/pacman-optimize.sh.in')
0 files changed, 0 insertions, 0 deletions