summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/lib b/tests/lib
index 564ea51..2842ce8 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 () {