Commit 45529e54 authored by Sören Tempel's avatar Sören Tempel

abuild.in: ensure that $triggers is not in $source

Since we already check that $install is not in $source is does make
sense to also check that $triggers is not in $source.
parent 051d2ced
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment