[Kimchi-devel] [PATCH 2/2] Issue #670: openSUSE: problem while building Kimchi
Ramon Medeiros
ramonn at linux.vnet.ibm.com
Mon Jun 29 18:55:07 UTC 2015
Fix directory checking on Makefile.
Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 1a0c8e7..5a1ff70 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -115,11 +115,11 @@ ChangeLog:
fi
install-data-local:
- @if test -d $(systemdsystemunitdir) ; then \
+ @if test $(systemdsystemunitdir) ; then \
mkdir -p $(DESTDIR)/$(systemdsystemunitdir); \
$(INSTALL_DATA) contrib/kimchid.service.fedora $(DESTDIR)/$(systemdsystemunitdir)/kimchid.service; \
else \
- mkdir -p $(DESTDIR)/etc/init.d/ \
+ mkdir -p $(DESTDIR)/etc/init.d/; \
$(INSTALL_DATA) contrib/kimchid.sysvinit $(DESTDIR)/etc/init.d/kimchid; \
chmod +x $(DESTDIR)/etc/init.d/kimchid; \
fi; \
--
2.1.0
More information about the Kimchi-devel
mailing list