No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
+t-dgit-manpage () {
+ local section=$1
+ local page=$2
+ (export LC_ALL=C.UTF-8
+ if [ "$DGIT_TEST_INTREE" ]; then
+ make -C $DGIT_TEST_INTREE $page.$section.view
+ else
+ man $section $page
+ fi)
+}
+
t-diff-nogit () {
diff --exclude=.git --exclude=.pc -ruN $*
}
t-diff-nogit () {
diff --exclude=.git --exclude=.pc -ruN $*
}
t-prep-newpackage example 1.1
buildrune=$(
t-prep-newpackage example 1.1
buildrune=$(
- (export LC_ALL=C.UTF-8
- if [ "$DGIT_TEST_INTREE" ]; then
- make -C $DGIT_TEST_INTREE dgit-user.7.view
- else
- man 7 dgit-user
- fi) | \
+ t-dgit-manpage 7 dgit-user | \
perl -ne '
next unless m/^ +Using sbuild$/ .. 0;
next unless m/^ +\%/ .. 0;
perl -ne '
next unless m/^ +Using sbuild$/ .. 0;
next unless m/^ +\%/ .. 0;