[Opensrf-commits] r1792 - trunk/src (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Sep 17 09:35:45 EDT 2009


Author: phasefx
Date: 2009-09-17 09:35:43 -0400 (Thu, 17 Sep 2009)
New Revision: 1792

Modified:
   trunk/src/Makefile.am
Log:
correct the test for modifying the *.xml.example files

Modified: trunk/src/Makefile.am
===================================================================
--- trunk/src/Makefile.am	2009-09-15 16:39:33 UTC (rev 1791)
+++ trunk/src/Makefile.am	2009-09-17 13:35:43 UTC (rev 1792)
@@ -55,7 +55,7 @@
 	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' && \



More information about the opensrf-commits mailing list