commit:     4db4c535273734541352bde38b658e09a20d1c22
Author:     Paolo Pedroni <PPed72 <AT> users <DOT> noreply <DOT> github <DOT> 
com>
AuthorDate: Tue May  3 09:15:27 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu May 12 12:38:45 2016 +0000
URL:        https://gitweb.gentoo.org/proj/webapp-config.git/commit/?id=4db4c535

ebuild.py: fix bashism

X-Gentoo-Bug: 561798
X-Gentoo-Bug-URL: https://bugs.gentoo.org/561798

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 WebappConfig/ebuild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/WebappConfig/ebuild.py b/WebappConfig/ebuild.py
index fecbe44..b10fe9f 100644
--- a/WebappConfig/ebuild.py
+++ b/WebappConfig/ebuild.py
@@ -101,7 +101,7 @@ class Ebuild:
 
         for i in post_instructions:
             i = i.replace('"', '\\"')
-            post.append(os.popen('echo -n "' + i + '"\n').read()[:-1])
+            post.append(os.popen('printf "' + i + '"\n').read()[:-1])
 
         post = post + [
             '',

Reply via email to