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

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



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 sigxcpu org>
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


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