# run. We know it must be running it in the chroot because we
# provide sbuild with the dsc, not the tree, so we simply
# ignore all executions of the clean target by schroot.
- sed '
- s/^EXAMPLE RULES TARGET clean/HOOK SUPPRESSED &/;
- ' ../example_1.0_$arch.build >>$bmlog
+ local sblog=../example_1.0_$arch.build
+ if [ -e $sblog ]; then
+ sed '
+ s/^EXAMPLE RULES TARGET clean/HOOK SUPPRESSED &/;
+ ' <$sblog >>$bmlog
+ fi
}
bm_quirk_after_act=after-hook
bm-prep
-act="sbuild -c build"
-real_act="$act --no-arch-all"
+act="sbuild -c build --no-arch-all"
+real_act="$act"
e_source=true
e_targets='build-arch binary-arch'