mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-04 20:10:19 +01:00
tools/ci-build.sh: Ensure that $builddir is set
When adding the new FreeBSD CI, this was not implicitly forwarded to QEMU, so the build script failed with confusing errors. Add an explicit check that the variable is set to make those cases easier to debug.
This commit is contained in:
parent
ca091e78d3
commit
aa90d09940
1 changed files with 4 additions and 0 deletions
|
|
@ -176,6 +176,10 @@ maybe_fail_tests () {
|
|||
NOCONFIGURE=1 ./autogen.sh
|
||||
|
||||
# clean up directories from possible previous builds
|
||||
if [ -z "$builddir" ]; then
|
||||
echo "ERROR: builddir environment variable must be set!"
|
||||
exit 1
|
||||
fi
|
||||
rm -rf "$builddir"
|
||||
rm -rf ci-build-dist
|
||||
rm -rf src-from-dist
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue