[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Use cat rather than echo for result script to avoid interpreted
From: |
David Kastrup |
Subject: |
[PATCH] Use cat rather than echo for result script to avoid interpreted backslashes |
Date: |
Tue, 12 Feb 2013 11:13:31 +0100 |
---
patches/compile_lilypond_test/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patches/compile_lilypond_test/__init__.py
b/patches/compile_lilypond_test/__init__.py
index 19b7d1d..6de9627 100644
--- a/patches/compile_lilypond_test/__init__.py
+++ b/patches/compile_lilypond_test/__init__.py
@@ -339,7 +339,7 @@ class AutoCompile (object):
script_filename = os.path.join (self.auto_compile_dir,
"show-regtests-%s.sh" % (issue_id))
out = open (script_filename, 'w')
- out.write ("echo %s\n" % pipes.quote (title))
+ out.write ("cat <<\EOFxyzzy\n%s\nEOFxyzzy\n" % title)
out.write ("firefox %s\n" % os.path.join (
self.build_dir, "../show-%i/test-results/index.html" % issue_id))
out.close ()
--
1.7.10.4
- [PATCH] Use cat rather than echo for result script to avoid interpreted backslashes,
David Kastrup <=