[libvirt] [PATCH] fix xmlint in separate build dir

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

 



Hi,
attached patch lets the domainschema check work when building in $build
instead of $src. Otherwise it won't find the xml files to validate.
 -- Guido
>From e2a19f1e14ef6712626a1b1b06b62cedf032495e Mon Sep 17 00:00:00 2001
From: Guido Guenther <agx@xxxxxxxxxxx>
Date: Thu, 7 Aug 2008 16:12:43 +0200
Subject: [PATCH] fix path to xml files

---
 tests/domainschematest |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/domainschematest b/tests/domainschematest
index e410cdc..7ebcefc 100755
--- a/tests/domainschematest
+++ b/tests/domainschematest
@@ -8,7 +8,7 @@ n=0
 f=0
 for dir in $DOMAINDIRS
 do
-  XML=`find $dir -name '*.xml'`
+  XML=`find $abs_srcdir/$dir -name '*.xml'`
 
   for xml in $XML
   do
-- 
1.5.6.3

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]