Commit eb8da636 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

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: default avatarMans Rullgard <mans@mansr.com>
parent 50fefa10
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment