Module: check_mk
Branch: master
Commit: 99e55667060fdb5ebccfd8f922d2ad14d31e8de7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=99e55667060fdb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Nov 16 10:49:22 2018 +0100
Still need to fix version in the shebang
Change-Id: I91c75e8eaae6f03426ff19b0b138c4fc555b2b36
---
tests/testlib/__init__.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 24a1dfb..ac4ea11 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -593,6 +593,9 @@ class Site(object):
execute("sudo /bin/cp -pr %s %s" % (src_path,
self.version.version_path()))
+ execute("sudo sed -i \"s|%s|%s|g\" %s/bin/omd" %
+ (src_version, new_version_name, self.version.version_path()))
+
execute("sudo sed -i \"s|%s|%s|g\"
%s/lib/python/omdlib/__init__.py" %
(src_version, new_version_name, self.version.version_path()))