[checkmk-commits] Fixed quoting issue in omd f.12

Lars Michelsen lm at mathias-kettner.de
Fri Nov 16 11:10:37 CET 2018


Module: check_mk
Branch: master
Commit: ed87aa42690212e8dce0d5a250612c23c9e610cd
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ed87aa42690212e8dce0d5a250612c23c9e610cd

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Fri Nov 16 11:01:43 2018 +0100

Fixed quoting issue in omd f.12

Change-Id: I5f895ab4465107e9c453e18e73d16cc3f8032048

---

 omd/packages/omd/.f12 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/omd/packages/omd/.f12 b/omd/packages/omd/.f12
index eb45111..4c7ba1c 100755
--- a/omd/packages/omd/.f12
+++ b/omd/packages/omd/.f12
@@ -27,4 +27,4 @@ echo $OLD_VERSION
 
 echo "Keeping version number in 'omd' at $OLD_VERSION"
 sudo sed -i "s|###OMD_VERSION###|$OLD_VERSION|g" $ROOT/lib/python/omdlib/__init__.py
-sudo sed -i 's|#!/omd/versions/.*/bin/python|#!/omd/versions/$OLD_VERSION/bin/python|g' $ROOT/bin/omd
+sudo sed -i 's|#!/omd/versions/.*/bin/python|#!/omd/versions/'$OLD_VERSION'/bin/python|g' $ROOT/bin/omd



More information about the checkmk-commits mailing list