diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-03-11 15:20:39 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-03-11 15:56:02 +0100 |
commit | 45529e54d254ce1a14ccc028d76328d384a3757f (patch) | |
tree | 5d768c9934ffa928fe1f6ac4e851386b47cd56a5 /abuild.in | |
parent | 051d2ced7461758ae8b07d6e6dec304d2f682525 (diff) | |
download | abuild-45529e54d254ce1a14ccc028d76328d384a3757f.tar.gz abuild-45529e54d254ce1a14ccc028d76328d384a3757f.tar.bz2 abuild-45529e54d254ce1a14ccc028d76328d384a3757f.tar.xz abuild-45529e54d254ce1a14ccc028d76328d384a3757f.zip |
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.
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |