[gnome-continuous] Fix handling of builddir for Autotools projects
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Fix handling of builddir for Autotools projects
- Date: Fri, 1 Dec 2017 13:28:41 +0000 (UTC)
commit b169439a2dc33b19cfdc88496ab6fb2d448070a2
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Dec 1 13:27:46 2017 +0000
Fix handling of builddir for Autotools projects
We're clearing the use_builddir variable. Thanks, Python.
src/ostree-build-compile-one | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/ostree-build-compile-one b/src/ostree-build-compile-one
index 8aed4fb..f52f748 100755
--- a/src/ostree-build-compile-one
+++ b/src/ostree-build-compile-one
@@ -179,11 +179,11 @@ def main(args):
doesnot_support_builddir = _has_buildapi_configure_variable('no-builddir')
if doesnot_support_builddir:
log("Found no-builddir Build API variable; copying source tree to _build")
- if os.path.isdir('_build'):
- shutil.rmtree('_build')
- shutil.copytree('.', '_build', symlinks=True,
- ignore=shutil.ignore_patterns('_build'))
- use_builddir = False
+ if os.path.isdir('_build'):
+ shutil.rmtree('_build')
+ shutil.copytree('.', '_build', symlinks=True,
+ ignore=shutil.ignore_patterns('_build'))
+ use_builddir = False
if use_builddir:
log("Using build directory %r" % (builddir, ))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]