strange problem with "echo -e" (?)
tho [Fri, 1 Jun 2007 10:07:50 +0000 (10:07 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@247 270642c3-0616-0410-b53a-bc976706d245

senfscons/SENFSCons.py

index c676f34..9e8313b 100644 (file)
@@ -440,7 +440,8 @@ def DoxyXRef(env, docs=None,
         docs = env.Alias('all_docs')[0].sources
     xrefs = [ doc for doc in docs if os.path.splitext(doc.name)[1] == ".xmli" ]
     xref = env.Command("doc/html/xref.xml", xrefs,
-                       [ "echo -e '<?xml version=\"1.0\"?>\\n<xref>' >$TARGET",
+                       [ "echo '<?xml version=\"1.0\"?>' > $TARGET",
+                         "echo '<xref>' >> $TARGET",
                          "cat $SOURCES >> $TARGET",
                          "echo '</xref>' >>$TARGET" ])