From: Ian Jackson Date: Thu, 26 Jul 2018 06:28:30 +0000 (+0100) Subject: test suite: Introduce $bpd variable (nfc) X-Git-Tag: archive/debian/6.0~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=0e2be4b852820edac3d2389b144661bf2f12c8ab test suite: Introduce $bpd variable (nfc) Signed-off-by: Ian Jackson --- diff --git a/tests/lib b/tests/lib index 564ea512..2842ce8b 100644 --- a/tests/lib +++ b/tests/lib @@ -40,6 +40,7 @@ root=`pwd` troot=$root/tests testname="${DGIT_TEST_TESTNAME-${0##*/}}" export DGIT_TEST_TROOT=$troot +bpd=.. tmp=$ADTTMP if [ x"$tmp" = x ]; then @@ -1134,8 +1135,9 @@ t-policy-periodic () { } t-buildproductsdir-config () { - t-git-config dgit.default.build-products-dir $tmp/bpd - mkdir -p $tmp/bpd + bpd=$tmp/bpd + t-git-config dgit.default.build-products-dir $bpd + mkdir -p $bpd } t-restrict () {