[icinga-checkins] icinga.org: icinga-web/jmosshammer/default: * Added folder creation (app/ cache/config) to make devel-inplace-config

git at icinga.org git at icinga.org
Fri Aug 5 09:13:15 CEST 2011


Module: icinga-web
Branch: jmosshammer/default
Commit: 10771dd11a042dc07c69e81f67baa9bb27231f4f
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=10771dd11a042dc07c69e81f67baa9bb27231f4f

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Fri Jul 15 14:18:15 2011 +0200

* Added folder creation (app/cache/config) to make devel-inplace-config

---

 Makefile.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 0cafb2f..770550a 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,10 +142,12 @@ devel-test:
 	$(PHP) $(SRC_DIR)/etc/tests/icingaWebTesting.php
 
 devel-inplace-config:
-	chown $(WEB_USER).$(WEB_GROUP) \
+	- at mkdir $(SRC_DIR)/app/cache $(SRC_DIR)/app/cache/config 2> /dev/null
+	@chown $(WEB_USER).$(WEB_GROUP) \
 		$(SRC_DIR)/app/cache \
 		$(SRC_DIR)/app/cache/config \
 		$(SRC_DIR)/app/data/log
+	@printf "Done.\n"
 
 install-javascript:
 	$(INSTALL) -m 755 $(INSTALL_OPTS) -d $(DESTDIR)$(prefix)/pub/js





More information about the icinga-checkins mailing list