summaryrefslogtreecommitdiffstats
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rw-r--r--abuild.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index c42d4e2..4a10362 100644
--- a/abuild.in
+++ b/abuild.in
@@ -180,6 +180,11 @@ default_sanitycheck() {
die "$p: trigger script does not match pkgname or any subpackage"
fi
+ if source_has "$f"; then
+ warning "You should not have \$triggers in source"
+ continue
+ fi
+
[ -e "$startdir"/$f ] || die "trigger script $f is missing"
done
if [ -n "$source" ]; then