Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index ceaa8a65..ba2758ba 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -956,6 +956,11 @@ check_package() {
warning "$(gettext "Invalid backup entry : %s")" "$file"
fi
done
+
+ # check for references to the build directory
+ if grep -R "${srcdir}" "${pkgdir}" &>/dev/null; then
+ warning "$(gettext "Package contains reference to %s")" "\$srcdir"
+ fi
}
create_package() {