[checkmk-commits] Check_MK Git: check_mk: Improved compile heler file .f12

git version control git at mathias-kettner.de
Tue Aug 23 15:34:31 CEST 2011


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

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Tue Aug 23 15:34:01 2011 +0200

Improved compile heler file .f12

---

 web/.f12 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/.f12 b/web/.f12
index e328943..49517ea 100644
--- a/web/.f12
+++ b/web/.f12
@@ -1,5 +1,5 @@
 #!/bin/bash
-SITE=${SITE:-dk}
+SITE=${SITE:-$(omd sites --bare | head -n 1)}
 C=$(sudo cp -rv * /omd/versions/default/share/check_mk/web/ | wc -l)
 echo "$C files copied"
 sudo omd restart $SITE apache



More information about the checkmk-commits mailing list