diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-07 20:17:23 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-07 20:17:23 +0000 |
commit | fc52ef24b950b72ff55a2bc811a66b71ea814de9 (patch) | |
tree | 1da2da93c22ce1b49733a52f69fbb7d10cdf2298 /package/logrotate/logrotate.mk | |
parent | dcb3a259c062aaea202e6a8a02a2d6f44b3000d1 (diff) | |
download | buildroot-novena-fc52ef24b950b72ff55a2bc811a66b71ea814de9.tar.gz buildroot-novena-fc52ef24b950b72ff55a2bc811a66b71ea814de9.zip |
logrotate: fix logrotate.conf check
Thanks to Hiroshi Shinji for noticing.
Diffstat (limited to 'package/logrotate/logrotate.mk')
-rw-r--r-- | package/logrotate/logrotate.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/logrotate/logrotate.mk b/package/logrotate/logrotate.mk index 220204f8b..337fd8eb1 100644 --- a/package/logrotate/logrotate.mk +++ b/package/logrotate/logrotate.mk @@ -18,8 +18,8 @@ $(LOGROTATE_DIR)/$(LOGROTATE_BINARY): $(LOGROTATE_DIR)/.source $(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY): $(LOGROTATE_DIR)/$(LOGROTATE_BINARY) $(MAKE) PREFIX=$(TARGET_DIR) -C $(LOGROTATE_DIR) install - if [ ! -f $(TARGET_DIR)/etc/logrotate.conf ]; then - $(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf; + if [ ! -f $(TARGET_DIR)/etc/logrotate.conf ]; then \ + $(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf; \ fi $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d |