summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Pedroni <PPed72@users.noreply.github.com>2016-05-03 11:15:27 +0200
committerAnthony G. Basile <blueness@gentoo.org>2016-05-12 08:38:45 -0400
commit4db4c535273734541352bde38b658e09a20d1c22 (patch)
tree58ba082802ad5836de7ca85d7d19045d3c963004
parentconfig.py: Fixes package version checking regression (diff)
downloadwebapp-config-4db4c535273734541352bde38b658e09a20d1c22.tar.gz
webapp-config-4db4c535273734541352bde38b658e09a20d1c22.tar.bz2
webapp-config-4db4c535273734541352bde38b658e09a20d1c22.zip
ebuild.py: fix bashism
X-Gentoo-Bug: 561798 X-Gentoo-Bug-URL: https://bugs.gentoo.org/561798 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r--WebappConfig/ebuild.py2
1 files changed, 1 insertions, 1 deletions
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 + [
'',