summaryrefslogtreecommitdiff
path: root/helpcontent2/helpers/update_tree.pl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-14 13:09:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-14 13:09:23 +0000
commit206648ed2ece3521b5d0dc7378dc13342e9a4d1b (patch)
treea1ee145ec3dc7ca1a8329402d7b45a77e22d38bc /helpcontent2/helpers/update_tree.pl
parent6622f850d4887c4b7efb36ab22f2923bee80ddde (diff)
doh, XMLLINT only exported on --with-lang builds
Diffstat (limited to 'helpcontent2/helpers/update_tree.pl')
-rw-r--r--helpcontent2/helpers/update_tree.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/helpcontent2/helpers/update_tree.pl b/helpcontent2/helpers/update_tree.pl
index 80befc2d4e..7408b315bc 100644
--- a/helpcontent2/helpers/update_tree.pl
+++ b/helpcontent2/helpers/update_tree.pl
@@ -309,7 +309,11 @@ sub processtreefiles {
unlink "$tree_dest/$lng/$tv" ;
my $ret=mv $treetmpfile , "$tree_dest/$lng/$tv$inpath" or &terminate("Cannot write to $tree_dest/$lng/$tv$inpath - Error $!");
my $ret=mv "$tree_dest/$lng/$tv$inpath" , "$tree_dest/$lng/$tv" or &terminate("Cannot write to $tree_dest/$lng/$tv - Error $!");
- system("$xmllint --noout --noent $tree_dest/$lng/$tv") == 0 or &terminate("$tree_dest/$lng/$tv is illformed xml (xmllint)" );
+ #xmllint is crashing on windows, fixme
+ if( $^O ne 'cygwin' )
+ {
+ system("$xmllint --noout --noent $tree_dest/$lng/$tv") == 0 or &terminate("$tree_dest/$lng/$tv is illformed xml ($xmllint on $^O)" );
+ }
}
} else {
&terminate("Cannot write to $tvout");