#!/bin/bash set -e . tests/lib t-dependencies sbuild t-restrict x-dgit-schroot-build t-tstunt-parsechangelog t-prep-newpackage example 1.1 cd $p build () { git clean -xdf sbuild -c build -A --no-clean-source \ --dpkg-source-opts='-Zgzip -z1 --format=1.0 -sn' } git checkout quilt-tip-1.1~0 build git checkout gitish-only~0 cat <<'END' >clean-target-hook #!/bin/sh set -ex test "$SCHROOT_SESSION_ID" END git add clean-target-hook git commit -m 'insist on schroot' build t-ok