Module: check_mk
Branch: master
Commit: 8d028ae53ef4aee13f657ea98b475049801bd974
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8d028ae53ef4ae…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Feb 14 12:12:18 2013 +0100
FIX: .f12 compile helper installs into correct SITE now
---
web/.f12 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/.f12 b/web/.f12
index 5bd8a90..8326daa 100644
--- a/web/.f12
+++ b/web/.f12
@@ -1,6 +1,6 @@
#!/bin/bash
SITE=${SITE:-$(omd sites --bare | head -n 1)}
-C=$(sudo cp --preserve=mode -rv * /omd/versions/default/share/check_mk/web/ | wc -l)
+C=$(sudo cp --preserve=mode -rv * /omd/sites/$SITE/share/check_mk/web/ | wc -l)
#C=$(sudo cp --preserve=mode -rv htdocs/*.{css,py}
/omd/versions/default/share/check_mk/web/htdocs/ | wc -l)
echo "$C files copied"
if [ "$SITE" != - ] ; then