[PATCH rdma-core 7/8] Fix check-build when the --build argument is present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

The cwd was missed when invoking ninja install. Travis uses . as the build
argument so this wasn't noticed.

Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
---
 buildlib/check-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildlib/check-build b/buildlib/check-build
index 83c3ce236bc416..facf42c9ff07ba 100755
--- a/buildlib/check-build
+++ b/buildlib/check-build
@@ -272,7 +272,7 @@ def test_installed_headers(args):
     with private_tmp() as tmpd:
         env = copy.deepcopy(os.environ);
         env["DESTDIR"] = tmpd;
-        subprocess.check_output(["ninja","install"],env=env);
+        subprocess.check_output(["ninja","install"],env=env,cwd=args.BUILD);
 
         includes = get_headers(tmpd);
         incdir = os.path.commonprefix(includes);
-- 
2.19.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux