index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Thomas Bächler <thomas@archlinux.org> | 2010-06-28 13:31:59 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-30 08:27:29 -0500 |
commit | d7c98d4e45f614495399636bf02bc718e4a90ab8 (patch) | |
tree | 1f38737a35e8398bbf167b9d35861159ac1f38bc /scripts/makepkg.sh.in | |
parent | 21d5dedfddb290da4e9beafe3e28abcdee1b7091 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 2699f637..c4c9866c 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -980,7 +980,7 @@ check_package() { done # check for references to the build directory - if grep -R "${srcdir}" "${pkgdir}" &>/dev/null; then + if find "${pkgdir}" -type f -exec grep -q "${srcdir}" {} +; then warning "$(gettext "Package contains reference to %s")" "\$srcdir" fi } |