From eb8da636af0652a4865055c237a76caff02b98bf Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Fri, 20 May 2011 12:06:51 +0100 Subject: [PATCH] fate: allow overriding default build and install dirs This is useful e.g. for building in a different filesystem than where the source is kept. Signed-off-by: Mans Rullgard --- tests/fate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fate.sh b/tests/fate.sh index 6f0e0fffcb..c522269b54 100755 --- a/tests/fate.sh +++ b/tests/fate.sh @@ -91,8 +91,8 @@ lock ${workdir} || die "${workdir} locked" cd ${workdir} || die "cd ${workdir} failed" src=${workdir}/src -build=${workdir}/build -inst=${workdir}/install +: ${build:=${workdir}/build} +: ${inst:=${workdir}/install} test -d "$src" && update || checkout || die "Error fetching source"