From: phasefx Date: Thu, 17 Sep 2009 13:35:43 +0000 (+0000) Subject: correct the test for modifying the *.xml.example files X-Git-Tag: osrf_rel_2_0_1~294 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4e03a4fcf25a4a4c7367c81f70a2983b890d8625;p=OpenSRF.git correct the test for modifying the *.xml.example files git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1792 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/Makefile.am b/src/Makefile.am index 78bf581..99b2ccd 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -55,7 +55,7 @@ install-exec-local: mkdir -p $(SOCK) install-exec-hook: - if [ $(MAYBE_CORE) ]; then sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/opensrf.xml.example' && \ + if [ "$(MAYBE_CORE)" ]; then sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/opensrf.xml.example' && \ sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/opensrf.xml.example' && \ sed -i 's|LOCALSTATEDIR|$(VAR)|g' '$(DESTDIR)@sysconfdir@/opensrf_core.xml.example' && \ sed -i 's|SYSCONFDIR|$(ETCDIR)|g' '$(DESTDIR)@sysconfdir@/opensrf_core.xml.example' && \