projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fefa1
)
fate: allow overriding default build and install dirs
author
Mans Rullgard
<mans@mansr.com>
Fri, 20 May 2011 11:06:51 +0000
(12:06 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Fri, 20 May 2011 12:50:52 +0000
(13:50 +0100)
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>
tests/fate.sh
patch
|
blob
|
history
diff --git
a/tests/fate.sh
b/tests/fate.sh
index 6f0e0fffcb4102fdefd324d64a660b3219fc7856..c522269b5449502a260535117a90e95efaf0b3f6 100755
(executable)
--- 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"