Module: check_mk
Branch: master
Commit: 53b217d57baa4849eca1848caad21cf119dd2840
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=53b217d57baa48…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Apr 11 11:25:17 2017 +0200
Fixed quoting issue in recent change
Change-Id: I50c99bba0667b58a672ba3b1f481af993a079389
---
tests/testlib/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index ec0f407..c93d16d 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -343,7 +343,7 @@ class Site(object):
(self.root, self.version.version_path())) >> 8 != 0:
raise Exception("Failed to set new version to bin/python")
- if os.system("sudo sed -i \"s|^initialize()$|sys.path.insert(0,
'%s/lib/python')\ninitialize()|g\" "
+ if os.system("sudo sed -i 's|^initialize()$|sys.path.insert(0,
\"%s/lib/python\")\ninitialize()|g' "
"%s/share/check_mk/web/htdocs/index.py" %
(self.version.version_path(), self.version.version_path())) >> 8 != 0:
raise Exception("Failed to add python module path of fake
version")