mirror of https://git.ffmpeg.org/ffmpeg.git
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 <mans@mansr.com>
This commit is contained in:
parent
50fefa10de
commit
eb8da636af
|
@ -91,8 +91,8 @@ lock ${workdir} || die "${workdir} locked"
|
||||||
cd ${workdir} || die "cd ${workdir} failed"
|
cd ${workdir} || die "cd ${workdir} failed"
|
||||||
|
|
||||||
src=${workdir}/src
|
src=${workdir}/src
|
||||||
build=${workdir}/build
|
: ${build:=${workdir}/build}
|
||||||
inst=${workdir}/install
|
: ${inst:=${workdir}/install}
|
||||||
|
|
||||||
test -d "$src" && update || checkout || die "Error fetching source"
|
test -d "$src" && update || checkout || die "Error fetching source"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue